This function labels points in a ggplot object.
labelPoints(
p,
labelDF,
labelSize = 2,
labelColor = "black",
labelRepulsion = 1,
labelPull = 1,
maxOverlaps = Inf
)A ggplot object.
A ggplot object.
Label data frame.
Label size.
Label color.
Repulsion strength between labels.
Attraction strength between a text label and its data point.
Maximum overlaps.