Create a box plot with jittered data points and significance testing.

BoxPlot(
  cellmeta,
  sample.col,
  celltype.col,
  group.col,
  legend.ncol = NULL,
  celltypes.show = NULL
)

Arguments

cellmeta

A data frame containing information about the cells.

sample.col

The column name for the sample identifier in cellmeta.

celltype.col

The column name for the cell type in cellmeta.

group.col

The column name for the grouping variable in cellmeta.

legend.ncol

The number of columns for the legend (optional).

celltypes.show

A character vector specifying which cell types to show (optional).

Value

A ggplot object.