plot_enrichment | R Documentation |
Plot relative representation of ASV pairs (using family labels)
plot_enrichment(
frequencies,
frequencies_subset,
type_label,
location_label,
enrichment = NULL,
count_threshold = 10,
cap_size = 5,
pt_sz = 3,
title_text_sz = 12,
text_sz = 10,
stroke_sz = 1.25
)
frequencies |
table of ASV pairs (labeled as "Family - Family") and their pverall frequency |
frequencies_subset |
table of ASVs or ASV pairs (labeled as "Family - Family") and their frequency in some subset of case of interest |
type_label |
either "family" or "family-pair" |
location_label |
a label for the subset, e.g. "high universality, low synchrony taxon pairs" |
enrichment |
optional data.frame onto which enrichment results will be appended |
count_threshold |
minimum abundance at which to evaluate taxon families or family pairs for enrichment |
cap_size |
log2 minimum or maximum value to plot; plotted intervals will be truncated here |
pt_sz |
optional geom_point size |
title_text_sz |
optional axis title text size |
text_sz |
optional axis text size |
stroke_sz |
optional geom_linerange stroke size |
list containing the plot and enrichment data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.