size.region | R Documentation |
Get region size
size.region(
x,
zero.based = TRUE,
check.zero.based = TRUE,
check.chr = TRUE,
check.valid = TRUE,
verbose = TRUE
)
x |
region in vector, matrix or dataframe format |
zero.based |
whether the coordinates are zero-based or 1 |
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 |
verbose |
messages and checks |
size/length of the region
Daryl Waggott
convert2bed
if (check.binary("bedtools")) {
index <- get.example.regions();
a <- index[[1]];
a.sizes <- bedr:::size.region(a);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.