matchVariants | R Documentation |
These are deprecated functions for operating on the old
variant GRanges. New code should use match
and %in%
.
This function behaves like match
, where two elements match when
they share the same position and “alt” allele.
matchVariants(x, table)
x %variant_in% table
x |
The variants ( |
table |
The variants ( |
For matchVariants
, an integer vector with the matching index in
table
for each variant in x
, or NA
if there is no
match. For %variant_in%
, a logical vector indicating whether
there was such a match.
Michael Lawrence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.