heatmapCombinations: Plot a heatmap of combinatorial states

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plotting.R

Description

Plot a heatmap that shows the binary presence/absence of marks for the different combinations.

Usage

1
heatmapCombinations(model = NULL, marks = NULL, emissionProbs = NULL)

Arguments

model

A multiHMM object or file that contains such an object.

marks

A character vector with histone marks. If specified, model will be ignored.

emissionProbs

A matrix with emission probabilities where dimnames(emissionProbs) gives the state labels and marks. This option is helpful to plot probabilistic chromatin states (not part of chromstaR). If specified, model and marks will be ignored.

Value

A ggplot object.

Author(s)

Aaron Taudt

See Also

plotting

Examples

1
2
3
4
5
6
marks <- c('H3K4me3','H3K27me3','H4K20me1')
heatmapCombinations(marks=marks)

file <- system.file("data","multivariate_mode-combinatorial_condition-SHR.RData",
                    package="chromstaR")
heatmapCombinations(file)


chromstaR documentation built on May 20, 2017, 9:40 p.m.
Search within the chromstaR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.