genomicFrequencies {chromstaR} | R Documentation

## Frequencies of combinatorial states

### Description

Get the genomewide frequency of each combinatorial state.

### Usage

    genomicFrequencies(multi.hmm, combinations = NULL, per.mark = FALSE)

### Arguments

`multi.hmm` | A `multiHMM` or `combinedMultiHMM` object or a file that contains such an object.
`combinations` | A vector with combinations for which the frequency will be calculated. If `NULL` all combinations will be considered.
`per.mark` | Set to `TRUE` if you want frequencies per mark instead of per combination.

### Value

A table with frequencies of each combinatorial state.

### Author(s)

Aaron Taudt

### Examples

    ## Get an example multiHMM
    file <- system.file("data","multivariate_mode-combinatorial_condition-SHR.RData",
                        package="chromstaR")
    model <- get(load(file))
    genomicFrequencies(model)

[Package chromstaR version 1.10.0 Index]