annotation,RnBSet-method {RnBeads} | R Documentation |
Genomic annotation of the methylation sites or regions covered in the supplied dataset.
## S4 method for signature 'RnBSet' annotation(object, type = "sites", add.names = FALSE, include.regions = FALSE)
object |
dataset as an object of type inheriting |
type |
loci or regions for which the annotation should be obtained. If the value of this parameter is
|
add.names |
flag specifying whether the unique site identifiers should be used as row names of the resulting data frame |
include.regions |
if |
Annotation table in the form of a data.frame
.
Pavlo Lutsik
library(RnBeads.hg19) data(small.example.object) ## show present sites head(annotation(rnb.set.example, add.names=TRUE)) ## show promoters ann.prom<-annotation(rnb.set.example, type="promoters", add.names=TRUE) head(ann.prom)