Skip to contents

Run PCA

Usage

run_pca(data, num_pcs, prefix = "PC_")

Arguments

data

A tibble with metadata.

num_pcs

Maximim number of genes per cell.

prefix

suffix.

Value

named list of feature loadings, cell embeddings, sdev, output from pca