edd_plot_eds: Generating line plot of evolutionary distinctiveness of each...

View source: R/edd_plot.r

edd_plot_edsR Documentation

Generating line plot of evolutionary distinctiveness of each lineage

Description

Function to generate a plot showing the transition of evolutionary distinctiveness of each lineage

Usage

edd_plot_eds(
  raw_data = NULL,
  rep_id = 1,
  save_plot = FALSE,
  path = NULL,
  deviation = FALSE,
  annotation = TRUE
)

Arguments

raw_data

a list of results generated by edd simulation function

rep_id

specify the id of replication to plot

save_plot

Logical, whether save to file or return a ggplot object

path

The path to save the plots

deviation

Logical, whether to plot the deviation of evolutionary distinctiveness

annotation

Logical, whether to plot the annotation of parameters

Value

an ggplot object

Author(s)

Tianjian Qin


EvoLandEco/eve documentation built on Sept. 14, 2024, 12:04 a.m.