HMM: Container for the segmented data and the 6-state HMM model...

Description Usage Arguments Slots See Also Examples

View source: R/methods-HMM.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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

1
2
3
4
5
data(snp_exp)
hmm_list <- hmm2(snp_exp[,1])
resultsFirstSample <- hmm_list[[1]]
resultsFirstSample
HMM()

VanillaICE documentation built on Nov. 8, 2020, 7:33 p.m.