| pmd_plot | R Documentation |
Creates a scatter plot of Richness vs. Eveness for PMD (Proportional Modular Diversity) analysis results, including reference lines, time point labels, and an inset directional legend for polyclonal/monoclonal classification. All core logic and parameters remain identical to the original code - only namespace prefixes (::) are added.
pmd_plot(PMD_data, Timelevels = NULL)
PMD_data |
Data frame output from pmd_analysis() function (required columns: Richness, Eveness, Time) |
Timelevels |
Character vector (optional). Custom ordered levels for the Time factor. Default = NULL (uses natural sort) |
ggplot object. Combined plot (main Richness-Eveness plot + inset legend)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.