add_node_labels: Add node labels

Description Usage Arguments

View source: R/clustree.R

Description

Add node labels to a clustering tree plot with the specified aesthetics.

Usage

1
2
3
4
5
6
7
8
add_node_labels(
  node_label,
  node_colour,
  node_label_size,
  node_label_colour,
  node_label_nudge,
  allowed
)

Arguments

node_label

the name of a metadata column for node labels

node_colour

either a value indicating a colour to use for all nodes or the name of a metadata column to colour nodes by

node_label_size

size of node label text

node_label_colour

colour of node_label text

node_label_nudge

numeric value giving nudge in y direction for node labels

allowed

vector of allowed node attributes to use as aesthetics


clustree documentation built on July 1, 2020, 5:17 p.m.