Learn R Programming

WGCNA (version 1.61)

addGuideLines: Add vertical ``guide lines'' to a dendrogram plot

Description

Adds vertical ``guide lines'' to a dendrogram plot.

Usage

addGuideLines(dendro, 
              all = FALSE, 
              count = 50, 
              positions = NULL, 
              col = "grey30", 
              lty = 3, 
              hang = 0)

Arguments

dendro

The dendrogram (see hclust) to which the guide lines are to be added.

all

Add a guide line to every object on the dendrogram? Useful if the number of objects is relatively low.

count

Number of guide lines to be plotted. The lines will be equidistantly spaced.

positions

Horizontal positions of the added guide lines. If given, overrides count.

col

Color of the guide lines

lty

Line type of the guide lines. See par.

hang

Fraction of the figure height that will separate top ends of guide lines and the merge heights of the corresponding objects.