Description Usage Arguments Author(s) References Examples
sort a region file
1 2 3 4 5 6 7 8 9 10 11 |
x |
a region object or index |
method |
natural or lexicographic |
engine |
what analytical engine to use for sorting i.e. bedtools, bedops, gnu unix |
chr.to.num |
chromosome letter names to numbers map. Defaults to Homo sapiens i.e c("X" = 23, "Y" = 24, "M" = 25) |
check.zero.based |
should 0 based coordinates be checked |
check.chr |
should chr prefix be checked |
check.valid |
should the region be checked for integerity |
check.merge |
should overlapping regions be checked |
verbose |
should log messages and checking take place |
Daryl Waggott
http://bedtools.readthedocs.org/en/latest/content/tools/sort.html
1 2 3 4 5 6 7 | if (check.binary("bedtools")) {
index <- get.example.regions();
a <- index[[1]];
b <- bedr.sort.region(a);
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.