add_node_points: Add node points

View source: R/clustree.R

add_node_pointsR Documentation

Add node points

Description

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

Usage

add_node_points(node_colour, node_size, node_alpha, allowed)

Arguments

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

allowed

vector of allowed node attributes to use as aesthetics


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