Description Usage Arguments Value Author(s) Examples
verifies that sequences are correct given coordinates and a reference
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
input bed object |
querySeq |
a vector of sequences the same length as x |
fasta |
a reference build in fasta format |
strand |
should strand be used. if reverse then the sequence will be reverse complemented |
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 |
a logical vector the length of the input querySeq
Daryl Waggott, Syed Haider
1 2 3 4 5 6 | if (check.binary("bedtools")) {
index <- get.example.regions();
a <- index[[1]];
a <- get.fasta(bedr.sort.region(a));
is.valid.seq(x = a, querySeq = a$sequence);
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.