View source: R/plot_distances_boxplot.R
plot_distance_boxplot | R Documentation |
Creates a boxplot visualization of distance metrics with overlaid mean points and SEM error bars. Suitable for comparing multiple groups with potentially skewed distributions.
plot_distance_boxplot(
distance_result,
id_col = "barcode",
show_points = FALSE,
y_scale = c("original", "log10"),
palette = "Set2"
)
distance_result |
A data.frame generated by |
id_col |
Name of the column containing cell IDs (default: "barcode"). |
show_points |
Logical, whether to overlay individual data points (default: FALSE). |
y_scale |
Method for y-axis scaling: "original" or "log10" (default: "original"). |
palette |
Color palette name from |
A ggplot2 object. Additional customization can be done using ggplot2 functions.
plot_distance_boxplot(distance_results,id_col = "Newbarcode")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.