plot_prep_node: Calculate Nodes Coordinates

Description Usage Arguments Value

View source: R/utils.R

Description

Calculate Nodes Coordinates

Usage

1
plot_prep_node(tree, uniform = FALSE, minbranch = 0.3)

Arguments

tree

MonoClust result object.

uniform

If TRUE, uniform vertical spacing of the nodes is used; this may be less cluttered when fitting a large plot onto a page. The default is to use a non-uniform spacing proportional to the inertia in the fit.

minbranch

Set the minimum length for a branch to minbranch times the average branch length. This parameter is ignored if uniform = TRUE. Sometimes a split will give very little improvement, or even no improvement at all. A tree with branch lengths strictly proportional to improvement leaves no room to squeeze in node labels.

Value

Nodes coordinates in a list of x and y axis.


monoClust documentation built on Feb. 15, 2021, 5:07 p.m.