Description Usage Arguments Value Author(s) Examples
Genomic annotation of the methylation sites or regions covered in the supplied dataset.
1 2 | ## 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
1 2 3 4 5 6 7 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.