| merge_sub | R Documentation |
Usefull, when creating summaries for base changes with add_summary().
Merging base changes with different reference bases is not allowed.
However, base changes with different non-reference bases can be merged, e.g.: c("A->G", "A->C")
will be merged to "A->CG"
merge_sub(subs)
subs |
vector of base substitutions. |
merged base substitutions.
sub <- c("A->G", "A->G")
# result: A->G
merge_sub(sub)
# result: A->CG
sub <- c("A->G", "A->C")
merge_sub(sub)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.