View source: R/bedr.snm.region.R
bedr.snm.region | R Documentation |
Sort and merge regions object in one step
bedr.snm.region(
x,
method = "lexicographical",
distance = 0,
list.names = TRUE,
number = FALSE,
check.zero.based = TRUE,
check.chr = TRUE,
check.valid = TRUE,
verbose = TRUE
)
x |
a object region object or index |
method |
natural or lexicographic |
distance |
distance between regions to be merged |
list.names |
output list of names for merged items |
number |
output number of merged items |
check.zero.based |
should 0 based coordinates be checked |
check.chr |
should chr prefix be checked |
check.valid |
should the region be checkded for integerity |
verbose |
should log messages and checking take place |
Sorted and merged regions object
Daryl Waggott
if (check.binary("bedtools")) {
index <- get.example.regions();
a <- index[[1]];
b <- bedr.snm.region(a);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.