idendr0 (version 1.5.3)

prepareDendro: prepareDendro

Description

Perform all computations needed to display a dendrogram and initialize a shared data frame. This is an internal function not to be called by the user.

Usage

prepareDendro(h, x = NULL, xOrig = NULL, doFlipG = TRUE, dbg = 0)

Arguments

h
an object of class 'stats::hclust' describing a clustering
x
a data frame holding observations tha were clustered giving rise to 'h', converted to numeric, and scaled
xOrig
a data frame holding observations tha were clustered giving rise to 'h'
doFlipG
should branches' heights ("grow") be flipped such that the heights of elementary observations correspond not to 0, but to the height of the dendrogram?
dbg
debug verbosity level

Value

shared data frame