getCombinations: Get combinations

Description Usage Arguments Value Examples

View source: R/getCombinations.R

Description

Get a DataFrame with combinations from a GRanges-class object.

Usage

1

Arguments

gr

A GRanges-class object from which the meta-data columns containing combinations will be extracted.

Value

A DataFrame.

Examples

1
2
3
4
5
6
7
8
9
### Get an example multiHMM ###
file <- system.file("data","multivariate_mode-combinatorial_condition-SHR.RData",
                    package="chromstaR")
model <- get(load(file))
### Get the combinations
bin.combs <- getCombinations(model$bins)
print(bin.combs)
seg.combs <- getCombinations(model$segments)
print(seg.combs)

chromstaR documentation built on May 2, 2020, 2:01 a.m.