powered by
Evaluate the distribution of the DMM at a given position or at every position
# S3 method for dmm getDistribution(x, pos, all.pos = FALSE, internal = FALSE, ncpu = 2)
A vector or matrix of distribution probabilities
An object of class dmm
dmm
A positive integer giving the position along the sequence on which the distribution of the DMM should be computed
`FALSE` (default, evaluation at position index) ; `TRUE` (evaluation for all position indices)
`FALSE` (default) ; `TRUE` (for internal use of distributions function)
Default=2. Represents the number of cores used to parallelized computation. If ncpu=-1, then it uses all available cores.
Alexandre Seiller
Distribution at position l is evaluated by \(\mu_{l} =\mu_0 \prod_{t=k}^{l} \ \pi_{\frac{t}{n}}\), \(\forall l \ge k, k \in N^*\) order of the DMM
BaVe2018drimmR Ver08drimmR
fitdmm, getTransitionMatrix, distributions, getStationaryLaw
data(lambda, package = "drimmR") dmm <- fitdmm(lambda, 1, 1, c('a','c','g','t'), init.estim = "freq", fit.method="sum") t <- 10 getDistribution(dmm,pos=t)
Run the code above in your browser using DataLab