Description Usage Arguments Details Author(s) References See Also Examples
Calculate the relative distance between two sets of intervals
1 2 3 4 5 6 7 8 9 10 11 |
x |
firt region to be compared |
y |
second region to be compared |
detail |
should the relative distance be printed for every region |
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 regions be checked for sort order |
check.merge |
should overlapping regions be checked |
verbose |
should log messages and checking take place |
The frequency of relative distances in bins spanning 0 to 0.5
Daryl Waggott
http://bedtools.readthedocs.org/en/latest/content/tools/reldist.html
jaccard
1 2 3 4 5 6 7 8 9 10 11 | if (check.binary("bedtools")) {
index <- get.example.regions();
a <- index[[1]];
b <- index[[2]];
a <- bedr(engine = "bedtools", input = list(i = a), method = "sort", params = "");
b <- bedr(engine = "bedtools", input = list(i = b), method = "sort", params = "");
reldist(a,b);
}
|
######################
#### bedr v1.0.7 ####
######################
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... FAIL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.