amp_venn: Generates a ggplot2 style venn diagram

Description Usage Arguments Value Author(s)

View source: R/amp_venn.R

Description

Calculates the number of "core" OTUs shared by groups given tresholds for how frequent the OTUs should be above a certain abundance. Also returns the average abundance of the OTUs in a particular group.

Usage

1

Arguments

data

(required) A phyloseq object.

group

Group the data based on a sample variable.

cut_a

Abundance cutoff in percent (default: 0.1).

cut_f

Frequency cutoff in percent (default: 80).

text.size

Size of the plotted text.

output

Either "plot" or "complete" (default: "plot").

Value

A ggplot2 object

Author(s)

Mads Albertsen MadsAlbertsen85@gmail.com


MadsAlbertsen/ampvis documentation built on May 7, 2019, 2:08 p.m.