S3 class for configuring plot visual aesthetics including points, colors, labels and text elements.
new_aesthetic_config(
point_size = 3.5,
point_alpha = 0.8,
point_shapes = c(antigen = 16, antiserum = 0),
color_palette = c25,
gradient_colors = list(low = "blue", high = "red"),
show_labels = FALSE,
show_title = FALSE,
label_size = 3,
title_size = 14,
subtitle_size = 12,
axis_title_size = 12,
axis_text_size = 10,
legend_text_size = 10,
legend_title_size = 12,
show_legend = TRUE,
legend_position = "right",
arrow_head_size = 0.2,
arrow_alpha = 0.6
)
An S3 object of class aesthetic_config
, which is a list
containing the specified configuration parameters for plot aesthetics.
Base point size
Point transparency
Named vector of shapes for different point types
Color palette name or custom palette
List with low and high colors for gradients
Whether to show point labels
Whether to show plot title (default: FALSE)
Label text size
Title text size
Subtitle text size
Axis title text size
Axis text size
Legend text size
Legend title text size
Whether to show the legend
Legend position ("none", "right", "left", "top", "bottom")
Size of the arrow head for velocity arrows (in cm)
Transparency of arrows (0 = invisible, 1 = fully opaque)