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
103 stars 23 forks source link

Issue with plotParam function #4

Closed doliv071 closed 6 years ago

doliv071 commented 6 years ago

Hi Beate,

Really like the idea behind your program.

I have the current error message when running a bulk RNA-seq dataset

> simR.test <- estimateParam(countData = counts, Distribution = "NB", RNAseq = "bulk", normalisation = "TMM")
> plotParam(simR.test)
Error in ylim(c(0, 1)) : could not find function "ylim"

In addition when I run the example code from the vignette I don't get an error but I also do not get a plot.

Thanks, -Dave

bvieth commented 6 years ago

Hello Dave,

thank you for trying out powsimR! I am sorry for the bug, I forgot to reference ggplot2 in the function correctly. I have released a new version fixing the error.

Kind regards Beate