Closed mourisl closed 6 years ago
Thanks so much for the pull request (and apologies for the delay in responding). This in general looks good to me -- have you tested this with your own data, and does it fix the problems you were seeing? (is it OK if basemeans is a very small decimal?).
Yes, after this fixing I successfully generated 25 data sets.
👍 great, thanks! merging. @JMF47 can you get this into bioc?
When using 'meanmodel=T', the reads_per_transcript in simulate_experiments() might be non-positive. If the number is non-positive, we will get warnings about NA from NB() and errors about "rep(...): invalid 'times' argument" when generating reads.
So I added a line to keep reads_per_trancript positive, is this valid?
Thanks, Li