getCombinations {chromstaR} | R Documentation

## Get combinations

### Description

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

### Usage

    getCombinations(gr)

### Arguments

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

### Value

A DataFrame.

### Examples

    ### 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)

[Package chromstaR version 1.6.2 Index]