Description Usage Arguments Value Examples
Initialization of hidden Markov models
1 |
obs |
The observations. A list of one or more entries containing the observation matrix ( |
nStates |
The number of states. |
method |
Emission distribution of the model. One out of c("NegativeBinomial", "PoissonLogNormal", "NegativeMultinomial", "ZINegativeBinomial", "Poisson", "Bernoulli", "Gaussian", "IndependentGaussian") |
sizeFactors |
Library size factors for Emissions PoissonLogNormal or NegativeBinomial as a length(obs) x ncol(obs[[1]]) matrix. |
sharedCov |
If TRUE, (co-)variance of (Independent)Gaussian is shared over states. Only applicable to 'Gaussian' or 'IndependentGaussian' emissions. Default: FALSE. |
A HMM object.
1 2 | data(example)
hmm_ex = initHMM(observations, nStates=3, method="Gaussian")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.