View source: R/lineage_plots.R
ridgeplot_lineagedensities | R Documentation |
Ridgeplot_lineagedensities takes the input from the function lineage_info and produces density plots using for each transmission lineage (TL) over time. The density plots are made using the ggridges R-package. The TLs are sorted from largest to smallest, and can be colored according to the state that defines the TL. See the full tutorial at https://github.com/magnusnosnes/LineageHomology/blob/master/Examples_and_plotting_methods/Simple_example/Basic_plotting.md
ridgeplot_lineagedensities(
Result_lineage_info,
datelims,
groups_larger_than = 4,
color_by_state = FALSE
)
datelims |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.