my.regions <- data.frame(
chromosome = c("chr1", "chr1"),
start = c(49242278L, 49242372L),
end = c(49242590L, 49242810L),
rownames = c("BEND5E1", "CpG:38"))
txt <- "First exon of the BEND5 gene and an overlapping CpG island."
rnb.set.annotation("my regions", my.regions, txt)
Run the code above in your browser using DataLab