cca-rda-phyloseq-methods: Constrained Correspondence Analysis and Redundancy Analysis.

Description Usage Arguments Value See Also Examples

Description

This is the internal function that simplifies getting phyloseq data into the constrained ordination functions, cca and rda. Unlike capscale.phyloseq, the formula argument to these methods is optional, and results in an unconstrained ordination.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
cca.phyloseq(physeq, formula = NULL, method = "CCA", ...)

## S4 method for signature 'phyloseq,formula'
cca.phyloseq(physeq, formula = NULL,
  method = "CCA", ...)

## S4 method for signature 'otu_table,ANY'
cca.phyloseq(physeq, formula = NULL,
  method = "CCA", ...)

## S4 method for signature 'phyloseq,'NULL''
cca.phyloseq(physeq, formula = NULL,
  method = "CCA", ...)

Arguments

physeq

(Required). Phylogenetic sequencing data (phyloseq-class). The data on which you want to perform the ordination.

formula

(Optional). A formula, specifying the contraining variable(s) format, with variable names corresponding to sample_data (RHS) from within physeq.

method

(Optional). A single character string, specifying "RDA" or "CCA". Default is "CCA".

...

(Optional). Additional named arguments passed to capscale.

Value

same output as cca or rda, respectively.

See Also

plot_ordination, rda, cca

Examples

1
2
#
# cca.phyloseq(physeq, formula, method, ...)

Example output



phyloseq documentation built on Nov. 8, 2020, 6:41 p.m.