getGlobalPrevalence: Retrieve global daily prevalence of a lineage

View source: R/getGlobalPrevalence.R

getGlobalPrevalenceR Documentation

Retrieve global daily prevalence of a lineage

Description

Retrieves the global daily prevalence of a PANGO lineage

Usage

getGlobalPrevalence(pangolin_lineage, mutations = NULL, cumulative = NULL)

Arguments

pangolin_lineage

PANGO lineage name

mutations

(optional) a 'vector' of mutation(s)

cumulative

(optional) 'Boolean' (T/F), T returns cumulative global prevalence since first day of detection

Value

dataframe

Examples

# B.1.1.7 lineage
b117 = getGlobalPrevalence(pangolin_lineage = "B.1.1.7", mutations = "S:E484K")
head(b117)


outbreak-info/R-outbreak-info documentation built on March 2, 2023, 9:58 a.m.