plot_cell_proportions: Plot cell proportions across each sample

View source: R/plot.R

plot_cell_proportionsR Documentation

Plot cell proportions across each sample

Description

Plot cell proportions across each sample

Usage

plot_cell_proportions(
  obj,
  sample_id = "orig.ident",
  group_id = "coarse_clusters",
  facet_by = NULL,
  summary_boxplot = FALSE,
  return_data = FALSE,
  cols = discrete_palette_default
)

Arguments

obj

Seurat object

sample_id

column name containing the per sample id

group_id

column name with cluster id

facet_by

column name to facet by

summary_boxplot

if TRUE, summarize data with 'facet_by' variable using jittered boxplot

return_data

if TRUE return cell count data with plot as a list

cols

colors


rnabioco/scbp documentation built on July 7, 2023, 10:10 p.m.