PlotCelltype: PlotCelltype

View source: R/PlotCelltype.R

PlotCelltypeR Documentation

PlotCelltype

Description

Calculate average expression for groups of genes across Seurat clusters and plot BoxPlots.

Usage

PlotCelltype(
  seurat_obj,
  gene_list,
  group_by = "seurat_clusters",
  x_lab = "Cluster ID",
  quantiles = c(0.05, 0.95),
  ...
)

Arguments

seurat_obj

Seurat object

gene_list

Named list of genes passed to seurat::AddModuleScore

group_by

seurat_object@meta.data column containing cell clusters

x_lab

label for x axis

quantiles

Percent quantile to plot on bar plots. Can be either a single element or an array (length 2) with lower and upper percent quantiles

...

Extra arguments passed to grid.arrange

Value

plot output from grid.arrange


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