index2bed: convert a region index into a bed file dataframe

View source: R/index2bed.R

index2bedR 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);
}

uclahs-cds/public-R-bedr documentation built on May 12, 2024, 3:56 p.m.