Closed nickschurch closed 6 years ago
I suspect it is because your reads_per_transcript
is of length 1. Im assuming that you want the number of reads per transcript for all those 92 transcripts to be the same 18716.48
? If so try
reads_per_transcript=matrix(rep(18716.48, 92), ncol=1)
.
You are correct, that's the problem right there. Might be worth clarifying the vignette for this point; it was really unclear to me what reads_per_transcript
was expected here.
Great, glad to hear your issue was resolved. Thanks for the heads up, will look into this :)
I want to simulate some sequence data. I've defined a simple two-column fold_changes matrix, as per the vignette, that looks like this:
When I then run
simulate_experiment
I get:When I subset the fold_changes matrix to just have the first column
fold_changes=fold_changes[,1]
things work fine, but now I'm less sure exactly what is being simulated.