read_pos: Reads a HOMER peak/position file.

Description Usage Arguments Value

View source: R/import_functions.R

Description

read_pos takes a HOMER peak file as input and tries to automatically find the columns that describe genomic ranges. It returns them as a GRanges object.

Usage

1
read_pos(file, keep_all = F, message = F)

Arguments

file

A HOMER-formatted peak file (PeakID, chr, start, stop ...)

keep_all

If TRUE, will keep all metadata columns.

message

Include messages for column parsing?

Value

A GenomicRanges object


rmwthorne/rangr documentation built on May 7, 2019, 11:15 a.m.