AddLabels: AddLabels

View source: R/5_plotFunctions.R

AddLabelsR Documentation

AddLabels

Description

AddLabels

Usage

AddLabels(
  p,
  labels,
  hjust = 0.5,
  layout = NULL,
  textSize = 3.88,
  textColor = "black",
  ...
)

Arguments

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

Value

Returns the ggplot object with labels added

See Also

PlotLabels, PlotNumbers


SofieVG/FlowSOM documentation built on Feb. 1, 2024, 11:33 a.m.