bvieth / powsimR

Power analysis is essential to optimize the design of RNA-seq experiments and to assess and compare the power to detect differentially expressed genes. PowsimR is a flexible tool to simulate and evaluate differential expression from bulk and especially single-cell RNA-seq data making it suitable for a priori and posterior power analyses.
https://bvieth.github.io/powsimR/
Artistic License 2.0
104 stars 23 forks source link

simulateDE() error #58

Open Yale73 opened 3 years ago

Yale73 commented 3 years ago

Hi powsimR team,

I am interested in our package and play around with our single cell data. We subset two conditions and one cluster to check the DEG power. I follow our vignette. All the steps work fine, but I ran the following error on simulateDE() step. Can you help me?

simres <- simulateDE(SetupRes = setupres,
                      Prefilter = NULL, Imputation = NULL,
                      Normalisation = 'scran',
                      DEmethod = "MAST", DEFilter = FALSE,
                      NCores = NULL, verbose = TRUE)
Preparing output arrays.

  SIMULATION   NUMBER   1

Generating gene expression.
500 vs. 500
Applying scran normalisation
Using calculateSumFactors, i.e. deconvolution over all cells!
Error: BiocParallel errors
  element index: 1
  first error: missing value where TRUE/FALSE needed
In addition: There were 50 or more warnings (use warnings() to see the first 50)

Thanks, Yale