capscale.phyloseq | R Documentation |
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
.
plot_ordination
rda
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.