readPeakFile: readPeakFile

Description Usage Arguments Value Author(s) Examples

View source: R/readPeakFile.R

Description

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

Usage

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

Arguments

peakfile

peak file

as

output format, one of GRanges or data.frame

...

additional parameter

Value

peak information, in GRanges or data.frame object

Author(s)

G Yu

Examples

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

ChIPseeker documentation built on March 6, 2021, 2 a.m.