getMutationsByLineage: Retrieve mutations by lineage

View source: R/getMutationsByLineage.R

getMutationsByLineageR Documentation

Retrieve mutations by lineage

Description

Retrieve all mutations in a specified lineage above a threshold

Usage

getMutationsByLineage(pangolin_lineage, frequency = 0.75, logInfo = TRUE)

Arguments

pangolin_lineage

PANGO lineage name or vector

frequency

a number between 0 and 1 specifying the frequency threshold above which to return mutations (default=0.8)

logInfo

(optional) 'Boolean' (T/F), T logs helper messages during API calls.

Value

dataframe

Examples

p1 = getMutationsByLineage(pangolin_lineage="P.1", frequency=0.5)


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