Description Usage Arguments Value Warnings Note
Simulate a bisulfite-sequencing experiment.
1 2 3 |
object |
A |
nsim |
The number of samples to simulate using the parameters given in
|
seed |
An object specifying if and how the random number generator
should be initialized ('seeded'). For the "WGBSParam" method, either
|
seqlevels |
A character vector of
|
simplify |
An integer specifying whether, and by how much, the object should be simplified, see 'Value'. |
BPPARAM |
an optional
|
The return value depends on the value of simplify
. The
default (simplify = 0
) means no simplification and the returned
object is a list
of length nsim
containing
SimulatedBS
objects. If simplify
is greater than zero,
the returned object is a
MethylationTuples::MethPat
object with
size = simplify
and ncol = simplify
.
Reads are not yet simulated for circular seqlevels such as 'chrM' (mitochondrial DNA).
Only single-end sequencing ('SE') is currently supported.
This is currently not RNG-safe since random numbers are generated
within the parallel process and at the Rcpp
level. Therefore,
results may not be reproducible, even given the same seed
.
This is a work in progress and will be fixed.
The nsim
simulations are currently simulated in
serial (but steps of each simulation may be run in parallel).
Currently only simulates whole-genome bisulfite-sequencing data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.