BarPlot: Plot bar chart of cell counts

Description Usage Arguments Value

View source: R/visualisation.R

Description

Plots counts of cells across categorical variables in a Seurat object.

Usage

1
2
BarPlot(seurat.object, category, group.by = NULL, split.by = NULL,
  title = NULL, subtitle = NULL, x.lab = NULL)

Arguments

seurat.object

A seurat object.

category

The category of interest to plot for the bar chart.

group.by

Groups that determine the colours of the bars

split.by

Facet into multiple plots based on this group

title

Title of the plot

subtitle

Subtitle of the plot

x.lab

The label for the X axis of the plot

Value

ggplot object of bar chart


sbrn3/disscat documentation built on Dec. 12, 2019, 7:54 a.m.