Setup and GRange check
library(devtools)
install_github("genomicsclass/ERBS")
library(BiocInstaller)
biocVersion()
Setup GenomicRagnes
source("http://bioconductor.org/biocLite.R")
biocLite("GenomicRanges")
What is the class of HepG2 ? - GRanges
library(ERBS)
data(HepG2)
class(HepG2)
attributes(class(HepG2))
> class(HepG2)
[1] "GRanges"
attr(,"package")
[1] "GenomicRanges"
Counting regions. Explore the HepG2 object. How many regions are represented? - 303
HepG2
length(HepG2)
unique(HepG2@ranges)
> length(HepG2)
[1] 303