lookupSublineages | R Documentation |
Retrieve all sublineages of a given Pango lineage or WHO designation. Based on a phylogeny maintained by the [Pango team](https://github.com/cov-lineages/lineages-website/blob/master/data/lineages.yml) to grab all sublineages associated with a lineage, and a curated list of Variants of Concern, Variants of Interest, Variants Under Monitoring, and de-escalated variants maintained by the [outbreak.info team](https://outbreak.info/situation-reports)
lookupSublineages(lineage, returnQueryString = FALSE)
lineage |
String with the name of a Pango lineage or WHO name |
returnQueryString |
Boolean to return a query string to be piped into functions like getPrevalence (collapses vector by '"OR"') |
list containing the sublineages associated with that lineage or WHO designation
# WHO-designated lineages lookupSublineages("epsilon") lookupSublineages("epsilon", returnQueryString = TRUE) # Pango lineage lookupSublineages("B.1.1.7") #' # Not a recognized lineage lookupSublineages("VOC-21APR-02")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.