PlotTopGenes: Plot Top Genes

View source: R/Seurat.Utils.Visualization.R

PlotTopGenesR Documentation

Plot Top Genes

Description

This function plots the highest expressed genes on UMAPs, saving the plots in a subfolder. It requires the prior execution of calc.q99.Expression.and.set.all.genes.

Usage

PlotTopGenes(obj = combined.obj, n = 8, exp.slot = "expr.q99")

Arguments

obj

A Seurat object containing the data for plotting. Default: combined.obj.

n

The number of top genes to plot. Default: 32.

exp.slot

The slot in the Seurat object where the expression data is stored. Default: "expr.q99".

Details

This function identifies the top n genes based on expression levels stored in exp.slot of the provided Seurat object. It then plots these genes using UMAPs and saves the results in a subfolder named "Highest.Expressed.Genes".

Examples

## Not run: 
if (interactive()) {
  PlotTopGenes()
}

## End(Not run)


vertesy/Seurat.utils documentation built on Dec. 4, 2024, 5:20 p.m.