BoxPlot | R Documentation |
This function generates a box plot from a single cell metadata dataframe
BoxPlot(data, y_col, group_by, y_lab, x_lab, rotated_labels = FALSE)
data |
df containing sample metadata (i.e. seurat@meta.data) |
y_col |
dat column to place on y axis |
group_by |
dat column to group cells by on x axis |
y_lab |
label for y axis |
x_lab |
label for x axis |
rotated_labels |
boolean value to specify whether to rotate x axis labels |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.