- x
(Required) Microbial community data. This must be in the form of a phyloseq object and must contain, at a minimum, an OTU abundance table and a phylogeny.
- grouping
(Required) A vector specifying which samples belong to which habitat type.
- core_fraction
The fraction of samples that a microbial taxon must be found in to be considered part of the 'core' microbiome. This variable is only used when selection = 'basic' and is ignored when selection = 'shade'. The default value is 0.5.
- ab_threshold1
The threshold for mean relative abundance across all samples. This variable is only used when selection = 'basic' and is ignored when selection = 'shade'. The default value is 0.
- ab_threshold2
The threshold for maximum relative abundance in any sample. This variable is only used when selection = 'basic' and is ignored when selection = 'shade'. The default value is 0.
- ab_threshold3
The threshold for minimum relative abundance across all samples. This variable is only used when selection = 'basic' and is ignored when selection = 'shade'. The default value is 0.
- mode
Whether to build a tip-based ('tip') or a branch-based ('branch') phylogeny. The default is 'branch'.
- selection
Whether to use thresholds ('basic') or the Shade and Stopnisek method ('shade') to define the core community. The default is 'basic'.
- max_tax
The maximum number of branches to add sequentially, as a percentage of the total branches when using the Shade and Stopnisek method. This variable is only used when selection = 'shade' and is ignored when selection = 'basic'.
- increase_cutoff
The threshold for the percent increase in beta diversity used to identify the taxon at which point adding more taxa yields diminishing returns in explanatory power. This variable is only used when selection = 'shade' and is ignored when selection = 'basic'.
- initial_branches
The number of branches to include prior to testing for increases in beta diversity. The default is to use all branches that are present in every sample and to begin testing branches that are missing from at least one sample. This variable is only used when selection = 'shade' and is ignored when selection = 'basic'.
- rooted
Whether to include the root of the phylogeny. The default is TRUE, meaning that the root is necessarily included in all phylogenies. This requires that the input tree be rooted.
- ordered_groups
When provided, specifies the order in which different habitats should be plotted. This order is matched to the color order specified in fill_color (see below).
- branch_color
A vector specifying what colors to use for branches associated with each of the different habitat combinations in the Venn diagram. This vector must be as long as the number of possible habitat combinations (number of compartments in the Venn diagram plus one for branches not included in the core of any habitats). When no colors are specified or a vector of the wrong length is specified, the default is to use a range of colors from blue to red.
- branch.width
The width to use when plotting the branches of the phylogeny. The default is 4.
- label.tips
Whether or not to label the tips of the phylogeny with the microbial taxon names. The default is FALSE.
- scaled
Whether or not to scale the branch lengths. The default is FALSE.
- remove_zeros
Whether or not to remove taxa that are missing from all samples prior to drawing the phylogeny. The default is TRUE.
- plot.chronogram
Whether to plot a phylogeny or a chronogram. The default is FALSE.