Learn R Programming

Momocs (version 0.2-6)

clust: Hierarchical clustering on a matrix of coefficients

Description

clust is a method for Coe objects to calculate and display hierarchical clustering of shapes based on the distance between their coefficients, after a distance matrix calculation based on dist.

Usage

clust(Coe, fac, method = "euclidean", type = "fan", palette = col.summer)

Arguments

Coe
The Coe object on which to perform hierarchical clustering.
fac
factor defining which column of the @fac slot to use for grouping, if any.
method
The distance method used by dist.
type
The plotting method used by plot.phylo.
palette
A color palette to use to plot the different groups, if any.

Value

  • Returns a dist object.

See Also

dist, hclust and plot.phylo.

Examples

Run this code
data(bot)
botE <- eFourier(bot, nb.h=32)
clust(botE)

Run the code above in your browser using DataLab