Collpase pangolin lineage a list of VOCs
Usage
CollapseLineageToVOCs(
  variant_df,
  vocs = GetVOCs(),
  custom_voc_mapping = NULL,
  summarize = TRUE
)Arguments
- 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.