Learn R Programming

Seurat (version 2.1.0)

PrintDim: Print the results of a dimensional reduction analysis

Description

Prints a set of genes that most strongly define a set of components

Usage

PrintDim(object, reduction.type = "pca", dims.print = 1:5,
  genes.print = 30, use.full = FALSE)

Arguments

object

Seurat object

reduction.type

Reduction technique to print results for

dims.print

Number of dimensions to display

genes.print

Number of genes to display

use.full

Use full PCA (i.e. the projected PCA, by default FALSE)

Value

Set of genes defining the components

Examples

Run this code
# NOT RUN {
pbmc_small
PrintDim(object = pbmc_small, reduction.type = "pca")
# Options for how many dimensions and how many genes to print
PrintDim(object = pbmc_small, reduction.type = "pca", dims.print = 1:2, genes.print = 5)
# Can also print for the projected PCA
PrintDim(object = pbmc_small, reduction.type = "pca", use.full = TRUE)

# }

Run the code above in your browser using DataLab