powered by
The function reads a BED file and coverts it to a GRanges object
GRanges
read.bed(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 chromsomes etc
GRanges object
# NOT RUN { bed.file=system.file("extdata", "cpgi.hg18.bed.txt", package = "methylKit") bed.gr=read.bed(location=bed.file,remove.unsual=TRUE) # }
Run the code above in your browser using DataLab