Learn R Programming

Claddis (version 0.3.4)

MultiMorphospacePlot: Plot Multiple Morphopaces

Description

Plots morphospaces for any number of axes.

Usage

MultiMorphospacePlot(pcoa_input, N_axes = 4, plot_taxon_names = FALSE,
  plot_internal_nodes = FALSE, plot_root = TRUE,
  root_colour = "grey")

Arguments

pcoa_input

The main input in the format output from MorphMatrix2PCoA.

N_axes

An integer indicating the total number of axes to plot (should minimally be three).

plot_taxon_names

Optional to plot the names of the taxa (defaults to FALSE).

plot_internal_nodes

Optional to plot the internal nodes of the tree (if included in pcoa_input) (defaults to FALSE).

plot_root

Optional to plot the root separately (defaults to FALSE).

root_colour

If plotting the root separately (previous option) sets the root colour.

Details

Takes output from MorphMatrix2PCoA as input and serves as a wrapper function for MorphospacePlot.

Plots multiple bivariate plots of ordination axes starting with 1 and up to N, such that every possible bivariate plot is produced.

Examples

Run this code
# NOT RUN {
# Create PCOA data:
pcoa_input <- MorphMatrix2PCoA(Michaux1989)

# Plot first three axes:
MultiMorphospacePlot(pcoa_input, N_axes = 3)

# }

Run the code above in your browser using DataLab