powered by
The function reads a BED file and coverts it to a GRanges object
GRanges
readBed(location,remove.unsual=TRUE)# S4 method for character readBed(location, remove.unsual = TRUE)
# S4 method for character readBed(location, remove.unsual = TRUE)
location of the file, a character string such as: "/home/user/my.bed"
if TRUE(default) remove the chromomesomes with unsual names, mainly random chromosomes etc
GRanges object
# NOT RUN { bed.file=system.file("extdata", "cpgi.hg18.bed.txt", package = "methylKit") bed.gr=readBed(location=bed.file,remove.unsual=TRUE) # }
Run the code above in your browser using DataLab