biplot_bca: Draw a between class analysis (BCA) plot.

Description Usage Arguments Value Examples

View source: R/ordinations.R

Description

Draw a between class analysis (BCA) plot.

Usage

1
2
biplot_bca(physeq, factor = "Enterotype", color = "Enterotype",
  label = "Genus", ntaxa = 10)

Arguments

physeq

Phyloseq object.

factor

Name of the sample metadata column to perform BCA.

color

Name of the sample metadata column to color the samples with.

label

Taxonomic annotation of the taxon to be shown in the biplot.

ntaxa

Maximum number of driver taxa to display. Actual number shown might be lower than the specified number.

Value

None.

Examples

1
2
3
4
5
## Not run: 
biplot_bca(physeq, factor = "Enterotype", color = "Enterotype", label = "Genus")
biplot_bca(physeq, factor = "Enterotype", color = "Diet", label = "Genus", ntaxa = 5)

## End(Not run)

TBrach/MicrobiomeX documentation built on April 19, 2018, 12:25 a.m.