plotDendrogram: Plot a dendrogram

Description Usage Arguments Value See Also

View source: R/plotDendrogram.r

Description

Plot a dendrogram

Usage

1
2
3
plotDendrogram(data, orientation = 4, type = 2,
  positions = c(1:length(data)), metric = c("KS", "SH", "aitchinson",
  "bray"), method = "ward.D", classes = 1)

Arguments

data

Data to compare.

orientation

See clustree.

type

See clustree.

positions

See clustree.

metric

Metric to compare samples within data.

method

Agglomeration method, see hclust.

classes

Cut tree into branches.

Value

A ggplot2 object containing the specified dendrogram.

See Also

clustree, hclust, diss


thegeologician/ggprovenance documentation built on Sept. 26, 2021, 8:59 a.m.