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

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