plotVarWeekly: Create plotting function for lineage with x bins as week, not...

Description Usage Arguments Value Examples

View source: R/sars2phylo.R

Description

Create plotting function for lineage with x bins as week, not day

Usage

1
plotVarWeekly(SS, LIN, bystate = FALSE, xlower, xupper)

Arguments

SS

dataframe of sample set, with one-hot encoding of each lineage as a column

LIN

character string of particular lineage

bystate

subset by state; SS must have state as a column

xlower

lower bound of x range

xupper

upper bound of x range, will extrapolate the logistic regression smoother

Value

creates a plot of successes (samples belong to lineage) vs failures (not lineage) over time

Examples

1
plotVarWeekly(ss, "B.1.1.7", bystate = FALSE, xlower = 25, xupper = 75);

JacobLemieux/sars2phylo documentation built on Dec. 18, 2021, 12:29 a.m.