powered by
checks if region file is sorted
is.sorted.region( x, method = "lex", engine = "unix", check.zero.based = TRUE, check.chr = TRUE, check.valid = TRUE, check.merge = TRUE, verbose = FALSE )
The region index, bed file, or bed formatted object
lexicgraphical or natural, lex is required for many operations but natural is better for interpretation
what analytical engine to use for sorting i.e. bedtools, bedops, gnu unix
should 0 based coordinates be checked
should chr prefix be checked
check if region is valid
check if region is merged
more words
Daryl Waggott
if (check.binary("bedtools")) { index <- get.example.regions(); a <- index[[1]]; b <- is.sorted.region(a); }
Run the code above in your browser using DataLab