abundanceDotplot: Relative Abundance Dotplot

View source: R/abundanceDotplot.R

abundanceDotplotR Documentation

Relative Abundance Dotplot

Description

Relative Abundance Dotplot

Usage

abundanceDotplot(
  srt_obj,
  celltypes,
  group2,
  celltype_pal,
  use_facet = FALSE,
  plot_type = "dot"
)

Arguments

srt_obj

Seurat object

celltypes

Character string of cell type column in metadata

group2

Character string of grouping column in metadata

celltype_pal

Vector of colors for cell types

use_facet

Logical for whether to use facet wrapping

plot_type

Character string for plot type, either "dot" or "bar", default is "dot"

Value

ggplot object

Examples

## Not run: 
  abundanceDotplot(seuratdata, celltypes = "celltypes", group2 = "orig.ident",
  celltype_pal = celltype_cols, use_facet = FALSE)

## End(Not run)

odavalos/scGrabBag documentation built on Jan. 15, 2025, 11:45 p.m.