Simple simulation function
SimpleSim.Rd
Simple simulation function
Arguments
- nreads
Number of reads to simulate
- fn
Fraction of reads that are new in simulation. Whether a read will be new will be determined by a draw from a Bernoulli(fn) distribution.
- pnew
T-to-C mutation rate in new reads
- pold
T-to-C mutation rate in old reads
- rlen
Length of simulated reads
- Ucont
Fraction of nucleotides in simulated reads that are Ts (U in RNA)