Seurat (version 2.3.4)

GetGeneLoadings: Dimensional Reduction Gene Loadings Accessor Function

Description

Pull gene loadings matrix for specified stored dimensional reduction analysis.

Usage

GetGeneLoadings(object, reduction.type = "pca", dims.use = NULL,
  genes.use = NULL, use.full = FALSE)

Arguments

object

Seurat object

reduction.type

Type of dimensional reduction to fetch (default is PCA)

dims.use

Dimensions to include (default is all stored dims)

genes.use

Genes to include (default is all genes)

use.full

Return projected gene loadings (default is FALSE)

Value

Gene loading matrix for given reduction, cells, and genes

Examples

Run this code
# NOT RUN {
pbmc_small
# Examine the head of the first 5 PC gene loadings
head(GetGeneLoadings(object = pbmc_small, reduction.type = "pca", dims.use = 1:5))

# }

Run the code above in your browser using DataLab