View source: R/plot_outbreak_info.R
plot_outbreak_milestones | R Documentation |
Get the first, peak and most recent times and plots for a list of mutations
plot_outbreak_milestones(
df,
snv_list,
ncol = 2,
min.date = NA,
max.date = NA,
colors = c(),
line_width = 1,
line_alpha = 0.8
)
df |
A tibble or dataframe from get_outbreak_info |
snv_list |
A list of the SNVs |
ncol |
The number of columns to facet the plots |
min.date |
Filter the df to only include dates later than or equal to this date (YYYY-MM-DD) |
max.date |
Filter the df to only include dates earlier than or equal to this date (YYYY-MM-DD) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.