overlay_node_points: Overlay node points

View source: R/clustree_overlay.R

overlay_node_pointsR Documentation

Overlay node points

Description

Overlay clustering tree nodes on a scatter plot with the specified aesthetics.

Usage

overlay_node_points(
  nodes,
  x_value,
  y_value,
  node_colour,
  node_size,
  node_alpha
)

Arguments

nodes

data.frame describing nodes

x_value

column of nodes to use for the x position

y_value

column of nodes to use for the y position

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_size

either a numeric value giving the size of all nodes or the name of a metadata column to use for node sizes

node_alpha

either a numeric value giving the alpha of all nodes or the name of a metadata column to use for node transparency


clustree documentation built on Nov. 6, 2023, 1:07 a.m.