complex_dotplot_multiple: Plot multiple genes across groups

View source: R/plot_dot.R

complex_dotplot_multipleR Documentation

Plot multiple genes across groups

Description

This function allows for visualization of multiple genes in multiple groups. It takes the single gene expression data generated by PlotSingleGeneGroup, concatenate all data, and produces a dotplot graph where the group ID are in x axis, wrapped by cell types, genes are on the y axis.

Usage

complex_dotplot_multiple(
  seu_obj,
  features,
  celltypes = NULL,
  groups,
  color.palette = NULL,
  strip.color = NULL
)

Arguments

seu_obj

A complete Seurat object

features

A vector of gene names.

celltypes

Cell types to be included in the dot plot. Default: all cell types.

groups

Group ID must be one of the column names in the meta.data slot of the Seurat object.

color.palette

Color for gene expression.

strip.color

Colors for the strip background

Value

A ggplot object


HaojiaWu/plot1cell documentation built on Nov. 13, 2023, 9:20 a.m.