View source: R/get_nextclade_distribution.R
get_nextclade_distribution | R Documentation |
Get Nextclade Distribution of Sequenced Samples
get_nextclade_distribution(
viralrecon_tbl,
sample_collection_tbl,
start_date = "2021-01-01",
end_date = as.character(lubridate::date(lubridate::now())),
n_days = 30,
time_zone = "America/New_York"
)
viralrecon_tbl |
viralrecon table from deidentifiedDB database |
sample_collection_tbl |
Sample Collection table from deidentifiedDB database |
start_date |
Filter sample collection table for samples collected after this date. Provide date as in "2021-08-01" for August 1, 2021 |
end_date |
Filter sample collection table for samples collected on or before this date. Provide date as in "2021-08-01" for August 1, 2021 |
n_days |
Duration of time (in days) for which only the first collected COVID-19 positive sample for a patient is retained |
time_zone |
Time zone for collection time (Default: "America/New_York") |
Tibble containing monthly count of sequenced samples in each Nextclade
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.