index2bed {bedr}R Documentation

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(s)

Daryl Waggott

Examples

if (check.binary("bedtools")) {

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

[Package bedr version 1.0.7 Index]