View source: R/clustree_overlay.R
overlay_node_points | R Documentation |
Overlay clustering tree nodes on a scatter plot with the specified aesthetics.
overlay_node_points(
nodes,
x_value,
y_value,
node_colour,
node_size,
node_alpha
)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.