Learn R Programming

bedr (version 1.0.7)

bed2index: bed dataframe to index string

Description

convert a dataframe in bed format to an index string

Usage

bed2index(x, sort = TRUE)

Value

Returns a vector of string based genomic regions

Arguments

x

a object region object or index

sort

should the index be sorted

Author

Daryl Waggott

Examples

Run this code

test.regions <- get.random.regions(10);
bed2index(test.regions);

Run the code above in your browser using DataLab