Learn R Programming

clustree (version 0.5.1)

add_node_points: 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