genomicFrequencies: Frequencies of combinatorial states

Description Usage Arguments Value Author(s) Examples

View source: R/frequencyAnalysis.R

Description

Get the genomewide frequency of each combinatorial state.

Usage

1
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

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

ataudt/chromstaR documentation built on Dec. 26, 2021, 12:07 a.m.