Last chance! 50% off unlimited learning
Sale ends in
Create custom legends for the domino plot
create_custom_domino_legends(
contrast_levels,
var_positions,
var_id,
contrast,
logfc_colors,
logfc_limits,
color_scale_name,
size_scale_name,
min_dot_size,
max_dot_size,
legend_text_size = 8
)
A ggplot object containing custom legends.
A character vector of contrast level names.
A data frame containing variable positions.
A string representing the column name for the variable identifier.
A string representing the column name for the contrast variable.
A named vector specifying the colors for the log fold change scale.
A numeric vector of length 2 specifying the limits for the log fold change color scale.
A string specifying the name of the color scale in the legend.
A string specifying the name of the size scale in the legend.
A numeric value indicating the minimum dot size.
A numeric value indicating the maximum dot size.
A numeric value indicating the text size for the legend.