complex_featureplot: Plot gene expression on umap

View source: R/plot_umap.R

complex_featureplotR Documentation

Plot gene expression on umap

Description

This function can be used for plotting a single gene or multiple genes expression across different groups in a seurat featureplot format.

Usage

complex_featureplot(
  seu_obj,
  features,
  group,
  select = NULL,
  cols = NULL,
  label.size = 12,
  order = F,
  strip.color = NULL,
  pt.size = 0.01
)

Arguments

seu_obj

A complete Seurat object.

features

Gene names to be plotted.

group

The group to show on y axis. One of the column names in meta.data.

select

Select the elements within the group to show.

cols

Change the color legend.

label.size

Change the label size.

strip.color

Colors for the strip background.

pt.size

Point size for each cell.

Value

A ggplot object


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