base_sub | R Documentation |
Calculates and formats base changes for ref
and bc
.
All elements in ref
must be all length 1.
base_sub(bases, ref)
bases |
vector of base calls or tibble of base call counts. |
ref |
vector of reference bases. |
vector of formatted base call substitutions.
bases <- c("AG", "G", "C", "G") ref <- c("A", "A", "C", "A") base_sub(ref, bases)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.