dendrogramGrob: Grob for Dendrogram

Description Usage Arguments Details Value Examples

View source: R/grid.dendrogram.R

Description

Grob for Dendrogram

Usage

1
2
dendrogramGrob(dend, facing = c("bottom", "top", "left", "right"),
    order = c("normal", "reverse"), gp = gpar())

Arguments

dend

A dendrogram object.

facing

Facing of the dendrogram.

order

If it is set to reverse, the first leaf is put on the right if the dendrogram is horizontal and it is put on the top if the dendrogram is vertical.

gp

Graphic parameters for the dendrogram segments. If any of col, lwd or lty is set in the edgePar attribute of a node, the corresponding value defined in gp will be overwritten for this node, so gp is like global graphic parameters for dendrogram segments.

Details

If dend has not been processed by adjust_dend_by_x, internally adjust_dend_by_x is called to add x attributes to each node/leaf.

Value

A grob object which is contructed by segmentsGrob.

Examples

1
2
# There is no example
NULL

ComplexHeatmap documentation built on Nov. 14, 2020, 2:01 a.m.