| plot.taxodist_ord | R Documentation |
Plots the PCoA ordination produced by taxo_ordinate().
## S3 method for class 'taxodist_ord'
plot(
x,
main = "Taxonomic Ordination (PCoA)",
xlab = "PC1",
ylab = "PC2",
labels = if (!is.null(x$points)) rownames(x$points) else NULL,
...
)
x |
A |
main |
Plot title. Default: |
xlab |
X-axis label. Default: |
ylab |
Y-axis label. Default: |
labels |
Character vector of labels. Default: rownames of points. |
... |
Additional arguments passed to |
Invisibly returns x. Called for side effects (plotting).
taxa <- c("Tyrannosaurus", "Velociraptor", "Triceratops", "Brachiosaurus")
ord <- taxo_ordinate(taxa)
plot(ord)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.