read.bed: read.bed

Description Usage Arguments Value Examples

View source: R/read.bed.R

Description

Read a BED file and return regions in chrN:start-end format

Usage

1
read.bed(bed.path, zero.based = TRUE)

Arguments

bed.path

Path to bed file

zero.based

Whether to return ID in zero-based coordinates

Value

vector of region IDs

Examples

1
2
bait.file <- system.file('extdata', '2q35.bed', package = 'chicane');
baits <- read.bed(bait.file);

chicane documentation built on Nov. 7, 2021, 1:07 a.m.