Learn R Programming

Seurat (version 2.3.4)

PrintPCA: Print the results of a PCA analysis

Description

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

Usage

PrintPCA(object, pcs.print = 1:5, genes.print = 30, use.full = FALSE)

Arguments

object

Seurat object

pcs.print

Set of PCs to print genes for

genes.print

Number of genes to print for each PC

use.full

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

Value

Only text output

Examples

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

# }

Run the code above in your browser using DataLab