Description Usage Arguments Author(s) References Examples
merge i.e. collapse overlpaping regions
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
input |
distance |
maximum distance between regions to be merged. defaults to 0 which means overlapping or bookended features. note that you can use negative distances to enforce a minimum overlap. |
list.names |
output list of names for merged items |
number |
output number of merged items |
stratify.by |
a column name indicating the groups to stratify merging within i.e. gene name. merging will not happen between groups. |
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 |
check.sort |
should the sort order be checked |
verbose |
should log messages and checking take place |
Daryl Waggott
http://bedtools.readthedocs.org/en/latest/content/tools/merge.html
1 2 3 4 5 6 7 8 9 10 | if (check.binary("bedtools")) {
index <- get.example.regions();
a <- index[[1]];
a.sort <- bedr.sort.region(a);
a.merged <- bedr.merge.region(a.sort);
}
|
sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied
######################
#### bedr v1.0.3 ####
######################
checking binary availability...
* Checking path for bedtools... FAIL
* Checking path for bedops... FAIL
* Checking path for tabix... FAIL
tests and examples will be skipped on R CMD check if binaries are missing
* Checking path for bedtools... sh: 1: cannot create /dev/null: Permission denied
FAIL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.