View source: R/visualization.R
new_aesthetic_config | R Documentation |
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
)
point_size |
Base point size |
point_alpha |
Point transparency |
point_shapes |
Named vector of shapes for different point types |
color_palette |
Color palette name or custom palette |
gradient_colors |
List with low and high colors for gradients |
show_labels |
Whether to show point labels |
show_title |
Whether to show plot title (default: FALSE) |
label_size |
Label text size |
title_size |
Title text size |
subtitle_size |
Subtitle text size |
axis_title_size |
Axis title text size |
axis_text_size |
Axis text size |
legend_text_size |
Legend text size |
legend_title_size |
Legend title text size |
show_legend |
Whether to show the legend |
legend_position |
Legend position ("none", "right", "left", "top", "bottom") |
arrow_head_size |
Size of the arrow head for velocity arrows (in cm) |
arrow_alpha |
Transparency of arrows (0 = invisible, 1 = fully opaque) |
An S3 object of class aesthetic_config
, which is a list
containing the specified configuration parameters for plot aesthetics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.