BoxPlot: Box Plot

BoxPlotR Documentation

Box Plot

Description

This function generates a box plot from a single cell metadata dataframe

Usage

BoxPlot(data, y_col, group_by, y_lab, x_lab, rotated_labels = FALSE)

Arguments

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

Value

ggplot object


alexthiery/scHelper documentation built on Aug. 26, 2023, 3:42 p.m.