plot_composition: Plot differences in cell composition

View source: R/plotting.R

plot_compositionR Documentation

Plot differences in cell composition

Description

Plot differences in cell composition

Usage

plot_composition(
  obj,
  group.by,
  split.by = NULL,
  as.pie = FALSE,
  group.levels = NULL,
  split.levels = NULL,
  label = FALSE,
  label.pct = FALSE
)

Arguments

obj

Seurat object

group.by

Meta.data column name to annotate

split.by

Meta.data column name to split plots

as.pie

Output plot as pie chart, defaults to FALSE

group.levels

Vector of levels to order group.by with

split.levels

Vector of levels to order split.by with

label

Labels to be plotted on plot instead of in legend, defaults to FALSE

label.pct

Label to be plotted with proportion, defaults to FALSE


rwcrocker/SeuratAddons documentation built on May 7, 2022, 1:08 a.m.