countByInterval: create count of a given lineage by given time interval

Description Usage Arguments Value Examples

View source: R/sars2phylo.R

Description

create count of a given lineage by given time interval

Usage

1
countByInterval(SS, lineage, timeInt)

Arguments

SS

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

timeInt

time interval, usually weekly ("epidate")

Value

datafram of absolute counts by lineage by week

Examples

1
countByIntrval(ss, "B.1.1.7", "epidate");

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