Learn R Programming

Seurat (version 3.1.0)

VizDimLoadings: Visualize Dimensional Reduction genes

Description

Visualize top genes associated with reduction components

Usage

VizDimLoadings(object, dims = 1:5, nfeatures = 30, col = "blue",
  reduction = "pca", projected = FALSE, balanced = FALSE,
  ncol = NULL, combine = TRUE)

Arguments

object

Seurat object

dims

Number of dimensions to display

nfeatures

Number of genes to display

col

Color of points to use

reduction

Reduction technique to visualize results for

projected

Use reduction values for full dataset (i.e. projected dimensional reduction values)

balanced

Return an equal number of genes with + and - scores. If FALSE (default), returns the top genes ranked by the scores absolute values

ncol

Number of columns to display

combine

Combine plots into a single gg object; note that if TRUE; themeing will not work when plotting multiple features

Value

A ggplot object

Examples

Run this code
# NOT RUN {
VizDimLoadings(object = pbmc_small)

# }

Run the code above in your browser using DataLab