readPeakFile: readPeakFile

View source: R/readPeakFile.R

readPeakFileR Documentation

readPeakFile

Description

read peak file and store in data.frame or GRanges object

Usage

readPeakFile(peakfile, as = "GRanges", ...)

Arguments

peakfile

peak file

as

output format, one of GRanges or data.frame

...

additional parameter (pass to 'utils::read.delim()')

Value

peak information, in GRanges or data.frame object

Author(s)

G Yu

Examples

peakfile <- system.file("extdata", "sample_peaks.txt", package="ChIPseeker")
peak.gr <- readPeakFile(peakfile, as="GRanges")
peak.gr

GuangchuangYu/ChIPseeker documentation built on Oct. 31, 2024, 9:13 a.m.