read.bed: Read BED files

Description Usage Arguments Author(s) References Examples

Description

Function to read files in BED file format.

Usage

1
read.bed(bed.file, trackline = FALSE, sep = "\t")

Arguments

bed.file

path to the BED file.

trackline

is a trackline included in the BED file passed to bed.file. If yes, then the first line is skipped.

sep

column delimiter.

Author(s)

Hajk-Georg Drost

References

http://www.ensembl.org/info/website/upload/bed.html

Examples

1
2
3
4
5
6
bed.file <- system.file("bed_example.bed", package = "seqreadr")
 
# read BED file  
test.bed <- read.bed(bed.file)
# look at the BED file
test.bed

HajkD/seqreadr documentation built on May 6, 2019, 10:55 p.m.