Comments (6)
Hi Tinyi,
I have been working on this, and I think I found my problem - at least for the run with multiple cores. I believe Windows may behave differently when running processes in parallel than on UNIX/linux systems. I forked the repository and added:
environment(sample.Z.theta_n)<-globalenv() environment(sample.theta_n)<-globalenv() environment(rdirichlet)<-globalenv() sfExport("phi", "X", "alpha", "gibbs.idx", "seed", "compute.elbo", "sample.Z.theta_n","sample.theta_n","rdirichlet")
to the run.gibbs.refPhi()
function in 'run_gibbs.R'
By exporting the functions sample.Z.theta_n()
, sample.theta.n()
, and rdirichlet()
to the global environment, and then from there to each cluster generated by snowlfake, the functions were available in each cpu node avoiding the errors.
I believe this may only be an issue for Windows as I have had colleagues successfully run this on Linux environments.
from bayesprism.
from bayesprism.
from bayesprism.
Hi Tinyi,
Thank you for your response. I get a similar error when I use n.cores>1 (function sample.Z.theta_n not found).
I am using this on the tutorial data that is supplied with the repository. I think there must have been an installation error on my end. I have tried re-installing the package and will continue to look into it.
Thank you for your help.
Best,
Kevin
from bayesprism.
Hi Kevin. Thank you so much for your suggestions!
from bayesprism.
from bayesprism.
Related Issues (20)
- imput of Bulk RNA-seq have negative after romoving batch effect HOT 1
- Can BayesPrism be used to deconvolute normal and disease muscle tissues to different cell types? HOT 2
- library size normalization of inferred counts? HOT 1
- installation error
- optimal number of each cell state HOT 3
- reference single cell HOT 1
- cell type correlation in the reference
- Final Theta of cell state HOT 3
- I just want to quantify the various cell types within T cells, is this feasible? HOT 1
- How much memory consumed per core? HOT 1
- Example about Computing z-scores of signature genes for Z of the cell type of interest. HOT 3
- Discrepancies Between matched Single-cell and Bulk Transcriptome Samples HOT 1
- gene names of reference and mixture do not match! HOT 1
- Deconvolution Using BayesPrism for Tumor Subtypes HOT 2
- Mouse or human (?) for option "species" HOT 1
- Using known cell type fractions HOT 2
- Using selected cell type markers can't improve the accuracy
- Question and suggestion for running with large bulk sample set HOT 1
- why cell type specific gene expression inference is so much better for cancer cells than for the rest ? HOT 1
- Re-input the result into the seurat object HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bayesprism.