View source: R/is.sorted.region.R
is.sorted.region | R Documentation |
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
)
x |
The region index, bed file, or bed formatted object |
method |
lexicgraphical or natural, lex is required for many operations but natural is better for interpretation |
engine |
what analytical engine to use for sorting i.e. bedtools, bedops, gnu unix |
check.zero.based |
should 0 based coordinates be checked |
check.chr |
should chr prefix be checked |
check.valid |
check if region is valid |
check.merge |
check if region is merged |
verbose |
more words |
Daryl Waggott
if (check.binary("bedtools")) {
index <- get.example.regions();
a <- index[[1]];
b <- is.sorted.region(a);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.