HMM-class {VanillaICE} | R Documentation

## Container for the segmented data and the 6-state HMM model parameters

### Description

The contructor `HMM` creates and object of class `HMM`. Not typically called directly by the user.

### Usage

    HMM(
      granges = GRanges(),
      param = HmmParam(),
      posterior = matrix(),
      filters = FilterParam()
    )

    ## S4 method for signature 'HMM'
    state(object)

    ## S4 method for signature 'HMM'
    show(object)

### Arguments

`granges` | a `GRanges` object
`param` | a `HmmParam` object
`posterior` | matrix of posterior probabilities
`filters` | an object of class `FilterParam`
`object` | a `HMM` object

### Slots

`granges`

  a `GRanges` object

`param`

  a `HmmParam` object

`posterior`

  a matrix of posterior probabilities

`filters`

  a `FilterParam` object

### See Also

`hmm2`

### Examples

    data(snp_exp)
    hmm_list <- hmm2(snp_exp[,1])
    resultsFirstSample <- hmm_list[[1]]
    resultsFirstSample
    HMM()

[Package VanillaICE version 1.52.0 Index]