VizDimLoadings: Visualize Dimensional Reduction genes

Description Usage Arguments Value Examples

View source: R/visualization.R

Description

Visualize top genes associated with reduction components

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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 patchworked ggplot object. If FALSE, return a list of ggplot objects

Value

A patchworked ggplot object if combine = TRUE; otherwise, a list of ggplot objects

Examples

1
2
data("pbmc_small")
VizDimLoadings(object = pbmc_small)

ibseq/scs-analysis documentation built on Feb. 27, 2021, 12:35 a.m.