Description Usage Arguments Value See Also
Samples from binomial distribution N variants with different depths and fixed mismatch rate for one simulation. Return 1 if the simulation exceeds observed alt allele reads or 0 otherwise
1 | simulator(depths, rate, alt_reads, seed)
|
depths |
a vector with the depths of the variants |
rate |
A list containing mismatch rates as produced by get_background_rate function |
alt_reads |
the observed variant allele reads |
seed |
the random seed |
a scalar. Either 1 if the simulation exceeds observed variant alleles or 0 otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.