CollapseLineageToVOCs | R Documentation |
Collpase pangolin lineage a list of VOCs
CollapseLineageToVOCs(
variant_df,
vocs = GetVOCs(),
custom_voc_mapping = NULL,
summarize = TRUE
)
variant_df |
A dataframe with "pangolin_lineage" column |
vocs |
A named list with VOC (variant of concernt) name as key and a list of lineages under the VOC. The method will replace all lineages under a VOC to its name. |
custom_voc_mapping |
A named vector with a custom mapping for naming some lineages. See example. |
A dataframe with a new column "lineage_collpased".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.