View source: R/5_plotFunctions.R
| AddNodes | R Documentation |
Function plots the nodes
AddNodes(
p,
nodeInfo = NULL,
values = NULL,
lim = NULL,
colorPalette = NULL,
fillColor = "white",
showLegend = TRUE,
label = "",
...
)
p |
ggplot object |
nodeInfo |
Dataframe with for every node an x, y and size value, if null the dataframe from the ggplot object will be reused. |
values |
Values used for coloring the nodes. Default = NULL, in which case all nodes are filled in fillColor. |
lim |
The limits of the color scale, not used if values = NULL. |
colorPalette |
Color palette for color in nodes, not used if values = NULL. A vector of colors or a color function. |
fillColor |
Fixed fill for node colors, default = white. |
showLegend |
Boolean, default = TRUE. |
label |
Title for the legend. |
... |
Additional arguments to pass to geom_circle |
Returns nothing, but plots the nodes
PlotFlowSOM, PlotMarker,
PlotVariable, AddLabels,
AddBackground, AddPies,
AddStars, AddStarsPies
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.