Frequencies of combinatorial states

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.