ridgeplot_lineagedensities: Ridgeplot Lineagedensities

View source: R/lineage_plots.R

ridgeplot_lineagedensitiesR Documentation

Ridgeplot Lineagedensities

Description

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

Usage

ridgeplot_lineagedensities(
  Result_lineage_info,
  datelims,
  groups_larger_than = 4,
  color_by_state = FALSE
)

Arguments

datelims

magnusnosnes/GeoLineages documentation built on April 17, 2025, 6:29 p.m.