S3 class for configuring point annotations in plots, including labels, connecting lines, and visual properties.
new_annotation_config(
notable_points = NULL,
size = 4.9,
color = "black",
alpha = 0.9,
fontface = "plain",
box = FALSE,
segment_size = 0.3,
segment_alpha = 0.6,
min_segment_length = 0,
max_overlaps = Inf,
outline_size = 0.4
)
An S3 object of class annotation_config
, which is a list
containing the specified configuration parameters for plot annotations.
Character vector of notable points to highlight
Numeric. Size of annotations for notable points
Character. Color of annotations for notable points
Numeric. Alpha transparency of annotations
Character. Font face of annotations ("plain", "bold", "italic", etc.)
Logical. Whether to draw a box around annotations
Numeric. Size of segments connecting annotations to points
Numeric. Alpha transparency of connecting segments
Numeric. Minimum length of connecting segments
Numeric. Maximum number of overlaps allowed for annotations
Numeric. Size of the outline for annotations