Usage
META.clust(meta, group=4, data.trans=NULL, dist=NULL, clust=NULL,
type=NULL, main="", file=NULL, ext=NULL, width=8, height=8)Arguments
meta
the metadata table to be clustered.
group
an integer or a metadata variable. If an integar, will cut tree into
corresponding groups and color them accordingly; if a metadata
variable was provided, tree leaves (sampleIDs) will be colored by
each level.
data.trans
optional. If was provided, numeric data will be transformed.
See also decostand dist
optional. If was provided, distance matrix will be calculated using
the give method for numeric variables; otherwise use
vegdist default Bray-Curtis method. If metadata
include qualitative variables, dis clust
optional. If was not provided, will use the default agglomeration
method used by hclust, i.e. "complete". Otherwise, will used user
defined method for clustering. See also hclust. type
optional. Can be one of the following: "triangle", "rectangle",
"phylogram", "cladogram", "fan", "unrooted", "radial".
main
The title of the plot.
file
optional. Filename that the plot to be saved to.
ext
optional. File type that the plot to be saved to.
width
an integer, width of the plot.
height
an integer, height of the plot.