summarize.regions,RnBSet-method {RnBeads} | R Documentation |
Summarize DNA methylation information for which is present in the RnBSet
object.
## S4 method for signature 'RnBSet' summarize.regions(object, region.type, aggregation = rnb.getOption("region.aggregation"), overwrite = TRUE)
object |
Dataset of interest. |
region.type |
Type of the region annotation for which the summarization will be performed or |
aggregation |
Operation to summarize the methylation values. Currently supported values are |
overwrite |
If |
object of the same class as the supplied one containing the summarized methylation information for the specified region types
library(RnBeads.hg19) data(small.example.object) rnb.set.summarized<-summarize.regions(rnb.set.example, "genes", overwrite=TRUE) head(meth(rnb.set.summarized, type="genes", row.names=TRUE))