Learn R Programming

bedr (version 1.1.3)

index2bed: convert a region index into a bed file dataframe

Description

convert a region index into a bed file dataframe

Usage

index2bed(x, set.type = TRUE)

Arguments

x

an index

set.type

should the attribute input.type be set. Sometimes it is desirable to avoid setting it when applying intermediate conversion

Author

Daryl Waggott

Examples

Run this code
if (check.binary("bedtools")) {

index <- get.example.regions();
a <- index[[1]];
a.bed <- index2bed(a);
}

Run the code above in your browser using DataLab