ordering_grob: Grob to display an ordering as a dendrogram.

View source: R/grid_util.R

ordering_grobR Documentation

Grob to display an ordering as a dendrogram.

Description

Display the dendrogram of an ordering, as a grid grob.

Usage

ordering_grob(
  ordering,
  transpose = FALSE,
  mirror = FALSE,
  hint_size = unit(5, "lines")
)

Arguments

ordering

An ordering produced by the make_ordering function.

transpose

Show a horizontal rather than a vertical dendrogram.

mirror

Should the leaves point left rather than right (down rather than up if transpose=TRUE)?

hint_size

Width (height if transpose=TRUE).

See Also

make_ordering


MonashBioinformaticsPlatform/varistran documentation built on June 9, 2025, 8:36 a.m.