Description Usage Arguments Author(s) References Examples
Get adjacent flanks from regions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
a object region object or index |
n.add |
the number of bases to be selected from each side of a region |
start.add |
the number of based to be selected from the start of a region |
end.add |
the number of based to be selected from the end of a region |
species |
the species i.e. human or mouse |
build |
the genome build i.e. hg19 or mm10 |
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 |
Daryl Waggott
http://bedtools.readthedocs.org/en/latest/content/tools/slop.html
1 2 3 4 5 6 7 8 9 | if (check.binary("bedtools")) {
index <- get.example.regions();
a <- index[[1]];
a <- bedr(engine = "bedtools", input = list(i = a), method = "sort", params = "");
b <- grow.region(a, n.add = 20);
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.