Constrained Analysis of Principal Coordinates, capscale.
See capscale
for details. A formula is main input.
capscale.phyloseq(physeq, formula, distance, ...) ## S4 method for signature 'phyloseq,formula,dist' capscale.phyloseq(physeq, formula, distance, ...) ## S4 method for signature 'phyloseq,formula,character' capscale.phyloseq(physeq, formula, distance, ...)
physeq |
(Required). Phylogenetic sequencing data
( |
formula |
(Required). A |
distance |
(Required). A Note that |
... |
(Optional). Additional named arguments passed to
|
Ordination object defined by capscale
.
# See other examples at # http://joey711.github.io/phyloseq/plot_ordination-examples data(GlobalPatterns) GP = prune_taxa(names(sort(taxa_sums(GlobalPatterns), TRUE)[1:50]), GlobalPatterns) ordcap = ordinate(GP, "CAP", "bray", ~SampleType) plot_ordination(GP, ordcap, "samples", color="SampleType")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.