Learn R Programming

RnBeads (version 1.4.0)

remove.regions,RnBSet-method: remove.regions-methods

Description

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

Usage

"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

Run this code

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)

Run the code above in your browser using DataLab