AddNodes {FlowSOM} | 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 |
Colorpalette 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