# S3 method for default
RunPCA(
object,
assay = NULL,
npcs = 50,
rev.pca = FALSE,
weight.by.var = TRUE,
verbose = TRUE,
ndims.print = 1:5,
nfeatures.print = 30,
reduction.key = “PC_”,
seed.use = 42,
approx = TRUE,
…
)
# S3 method for Assay
RunPCA(
object,
assay = NULL,
features = NULL,
npcs = 50,
rev.pca = FALSE,
weight.by.var = TRUE,
verbose = TRUE,
ndims.print = 1:5,
nfeatures.print = 30,
reduction.key = “PC_”,
seed.use = 42,
…
)
# S3 method for Seurat
RunPCA(
object,
assay = NULL,
features = NULL,
npcs = 50,
rev.pca = FALSE,
weight.by.var = TRUE,
verbose = TRUE,
ndims.print = 1:5,
nfeatures.print = 30,
reduction.name = “pca”,
reduction.key = “PC_”,
seed.use = 42,
…
)
Read more here: Source link