remove.regions,RnBSet-method {RnBeads} | R Documentation

## remove.regions-methods

### Description

Remove the summarized methylation information for a given region type from an `RnBSet` object.

### Usage

    ## S4 method for signature 'RnBSet'
    remove.regions(object, region.type)

### Arguments

`object` | Dataset of interest.
`region.type` | Type of the region annotation for which the summarization should be removed

### Value

object of the same class as the supplied one without the summarized methylation information for the specified region type

### Examples

    library(RnBeads.hg19)
    data(small.example.object)
    summarized.regions(rnb.set.example)
    rnb.set.reduced<-remove.regions(rnb.set.example, "genes")
    summarized.regions(rnb.set.reduced)

[Package RnBeads version 2.0.1 Index]