View source: R/is.valid.region.R
is.valid.region | R Documentation |
checks if region/index is valid
is.valid.region(
x,
check.zero.based = TRUE,
check.chr = TRUE,
throw.error = FALSE,
verbose = TRUE
)
x |
The region index, bed file, or bed formatted object |
check.zero.based |
should basic test for zero based coordinates be checked |
check.chr |
should the algorithm check for the "chr" prefix |
throw.error |
should an error be thrown. The default is to report a logical vector of inconsistencies. |
verbose |
should diagnostic messages be printed |
Daryl Waggott
index <- get.example.regions();
a <- index[[1]];
is.valid <- is.valid.region(a);
a.valid <- a[is.valid];
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.