loadPeakFile {FindIT2} | R Documentation |
read peak file and transform it into GRanges object
loadPeakFile(filePath, fromMACS2 = FALSE, narrowPeak = TRUE)
filePath |
peak Path |
fromMACS2 |
whether peak from MACS2.If it set TRUE, extra column in bed file will be named according to the content in MACS2 manual |
narrowPeak |
whether peak is narrowPeak or broadPeak. |
GRanges object with a column named feature_id, which is important for later analysis
peakfile <- system.file("extdata", "ChIP.bed.gz", package = "FindIT2") loadPeakFile(peakfile)