Learn R Programming

ChIPseeker (version 1.8.6)

readPeakFile: 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

Value

peak information, in GRanges or data.frame object

Examples

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

Run the code above in your browser using DataLab