Learn R Programming

bedr (version 1.0.2)

is.merged.region: checks if region file is merged

Description

checks if region file is merged

Usage

is.merged.region( x, check.zero.based = TRUE, check.chr = TRUE, check.valid = TRUE, check.sort = TRUE, verbose = FALSE )

Arguments

x
region or index
check.zero.based
should 0 based coordinates be checked
check.chr
should chr prefix be checked
check.valid
check if region is valid
check.sort
check if region is sorted
verbose
more words

Examples

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

index <- get.example.regions();

a <- index[[1]];

b <- is.merged.region(a);

}

Run the code above in your browser using DataLab