| simulate.dmm | R Documentation |
Simulate a sequence under a k-th order DMM.
## S3 method for class 'dmm'
simulate(x, output_file = NULL, model_size = NULL, ncpu = 2)
x |
An object of class |
output_file |
(Optional) File containing the simulated sequence (e.g, "C:/.../SIM.txt") |
model_size |
Size of the model |
ncpu |
Default=2. Represents the number of cores used to parallelized computation. If ncpu=-1, then it uses all available cores. |
the vector of simulated sequence
Annthomy Gilles, Alexandre Seiller
BaVe2018drimmR \insertRefVer08drimmR
fitdmm, getTransitionMatrix, getStationaryLaw
data(lambda, package = "drimmR")
dmm <- fitdmm(lambda, 1, 1, c('a','c','g','t'), init.estim = "freq", fit.method="sum")
simulate(dmm, model_size=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.