hclust.cutreeHybrid(
# Input data: basic tree cutiing
dendro, distM, # Branch cut criteria and options
cutHeight = NULL, minClusterSize = 20, deepSplit = 1,
# Advanced options
maxCoreScatter = NULL, minGap = NULL,
maxAbsCoreScatter = NULL, minAbsGap = NULL,
minSplitHeight = NULL, minAbsSplitHeight = NULL,
# External (user-supplied) measure of branch split
externalBranchSplitFnc = NULL, minExternalSplit = NULL,
externalSplitOptions = list(),
externalSplitFncNeedsDistance = NULL,
assumeSimpleExternalSpecification = TRUE,
# PAM stage options
pamStage = TRUE, pamRespectsDendro = TRUE,
useMedoids = FALSE,
maxPamDist = cutHeight,
respectSmallClusters = TRUE,
# Various options
verbose = 2, indent = 0)
hclust.hclust.maxBranchCor, mincutHeight relative to the 5th percentile of joining heights. See Details.cutHeight and
the 5th percentile of joining heights.maxCoreScatter.minGap.cutHeight and the 5th percentile of joining heights. Branches merging below this height will
automatically be merged. Defaults to zero but is used only if minAbsSplitHminSplitHeight above.assumeSimpleExternalSpecification below for how to specify a single function).
Each functiexternalBranchSplitFnc above.
Only used for method "hybrid".externalBranchSplitFnc. If only one
external function is specified in externalBranchSplitFnc above, externalSplitOptions
can be a named
list of arguments or a list with one component tNULL or a logical vector with
one element per branch split function that specifies whether the corresponding braminExternalSplit above is a scalar (has
length 1), should the function assume a simple specification of externalBranchSplitFnc and
externalSplitOptions? If TRUE, externalBranchSplitFnTRUE, the second (PAM-like) stage will be performed.TRUE, the PAM stage will
respect the dendrogram in the sense an object can be PAM-assigned only to clusters that lie below it on
the branch that the object is merged into.
See cutHeight.verbose above). Each unit
adds two spaces before printed messages; useful when several functions' output is to be nested.deepSplit. In order to make the shape parameters maxCoreScatter and minGap more universal, their
values are interpreted relative to cutHeight and the 5th percetile of the merging heights (we
arbitrarily chose the 5th percetile rather than the minimum for reasons of stability). Thus, the absolute
maximum allowable core scatter is calculated as maxCoreScatter * (cutHeight - refHeight) +
refHeight and the absolute minimum allowable gap as minGap * (cutHeight - refHeight), where
refHeight is the 5th percentile of the merging heights.
hclust, as.dist