AddLabels {FlowSOM} | R Documentation |
AddLabels
AddLabels( p, labels, hjust = 0.5, layout = NULL, textSize = 3.88, textColor = "black", ... )
p |
ggplot object |
labels |
Labels to be added to each node |
hjust |
Horizontal adjust for labels. Default is centered. |
layout |
Dataframe with x and y columns. If null, the dataframe from the ggplot object will be reused. |
textSize |
Size for geom_text. Default (=3.88) is from geom_text. |
textColor |
Color for geom_text. Default = black. |
... |
Additional parameters to pass to geom_text |
Returns the ggplot object with labels added