bed_to_granges: BED to GRanges

Description Usage Arguments Examples

Description

This function loads a BED-like file and stores it as a GRanges object. The tab-delimited file must be ordered as 'chr', 'start', 'end', 'id', 'score', 'strand'. The minimal BED file must have the 'chr', 'start', 'end' columns. Any columns after the strand column are ignored.

Usage

1

Arguments

file

Location of your file

header

Logical for whether file has a header (default = FALSE)

Examples

1
bed_to_granges('my_bed_file.bed')

davetang/bedr documentation built on May 14, 2019, 9:26 p.m.