mask_sub | R Documentation |
When only a subset of all possibles base substitutions is interesting, the remaining base substitutions can be masked. This function will hide the remaining base substitutions by renaming them to other.
mask_sub(subs, keep)
subs |
vector of base call substitutions. |
keep |
vector of base call substitutions to be highlighted. All other will be renamed to other. |
vector of base call substitutions. subs <- c("A->G", "A->C", "no change") # "A->G" "other" "no change" mask_sub(subs, c("A->G"))
# "other" "other" "no change" mask_sub(subs, c("A->T"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.