
Function to import a genomic feature bed file. The bed file must contain coordinates of the genomic features. It can be for instance ChIP-seq peak coordinates or functional element coordinates.
readGFBed(GFBedFile, seqInfoChr)
The name of the bed file. If it does not contain an absolute path, the file name is relative to the current working directory.
A Seqinfo object for the corresponding genome.
A GRanges object is returned.
# NOT RUN {
bed_file <- system.file("inst/extdata", "BEAF32_Kc167_CS_dm3.bed", package="HiCfeat")
data(dataExample)
seqInfoChr=dataExample$SeqInfoChr
GFBed=readGFBed(bed_file,seqInfoChr)
# }
Run the code above in your browser using DataLab