rnb.region.types.for.analysis {RnBeads} | R Documentation

## rnb.region.types.for.analysis

### Description

Identifies the region types that are summarized by the given dataset and pointed to for analysis.

### Usage

    rnb.region.types.for.analysis(rnb.set)

### Arguments

`rnb.set` | Methylation dataset as an object of type inheriting `RnBSet`.

### Details

This function intersects the value of the analysis option `"region.types"` with the region types that are summarized in the provided dataset. In case the option's value is `NULL`, this function returns all summarized region types in `rnb.set`.

### Value

List of all region types to be analyzed in the current dataset in the form of a `character` vector.

### Author(s)

Yassen Assenov

### See Also

`rnb.getOption` for checking the value of the `"region.types"` option; `summarized.regions` for obtaining the region types summarized in a dataset

### Examples

    library(RnBeads.hg19)
    data(small.example.object)
    "promoters" %in% rnb.region.types.for.analysis(rnb.set.example)

[Package RnBeads version 2.4.0 Index]