powered by
Simulate a sequence under a k-th order DMM.
# S3 method for dmm simulate(x, output_file = NULL, model_size = NULL, ncpu = 2)
the vector of simulated sequence
An object of class dmm
dmm
(Optional) File containing the simulated sequence (e.g, "C:/.../SIM.txt")
Size of the model
Default=2. Represents the number of cores used to parallelized computation. If ncpu=-1, then it uses all available cores.
Annthomy Gilles, Alexandre Seiller
BaVe2018drimmR Ver08drimmR
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)
Run the code above in your browser using DataLab