Collapse provided PANGO lineage names completely or up to a maximum depth. Recombinant variants will not be collapsed. NA_character values will be carried through.
Arguments
- pangoro
Pangoro object.
- input
Vector of lineage names to collapse (character vector).
- max_level
How far to expand the lineage name (default: maximum).
- simplify
Boolean, pass to
mapply
.- aliase_parent
Boolean, to use alias code for originating parent (e.g. BQ.1.10.1 -> EC)