plot_venn_diagram: Plot Venn Diagrams

View source: R/misc_plots.R

plot_venn_diagramR Documentation

Plot Venn Diagrams

Description

Plot venn diagram showing OTU overlap between multiple sample categories.

Usage

plot_venn_diagram(input, category, pres_thresh)

Arguments

input

The input dataset as loaded by load_taxa_table().

category

The category (header in map) to group samples by.

pres_thresh

The threshold relative abundance for an OTU to be considered present for a given sample category.

Examples

fv_filt = filter_data(fruits_veggies, filter_cat = 'Sample_type', 
                      keep_vals = c('Spinach', 'Lettuce', 'Mushrooms'))
plot_venn_diagram(fv_filt, category = 'Sample_type', pres_thresh = 0.005)

leffj/mctoolsr documentation built on Aug. 5, 2022, 1:27 a.m.