runPCA
¶
runPCA
Description¶
runs a Principal Component Analysis
Usage¶
runPCA(
gobject,
spat_unit = NULL,
feat_type = NULL,
expression_values = c("normalized", "scaled", "custom"),
reduction = c("cells", "feats"),
name = NULL,
feats_to_use = "hvf",
genes_to_use = NULL,
return_gobject = TRUE,
center = TRUE,
scale_unit = TRUE,
ncp = 100,
method = c("irlba", "exact", "random", "factominer"),
method_params = list(NA),
rev = FALSE,
set_seed = TRUE,
seed_number = 1234,
verbose = TRUE,
...
)
Arguments¶
Argument |
Description |
---|---|
|
giotto object |
|
spatial unit |
|
feature type |
|
expression values to use |
|
cells or genes |
|
arbitrary name for PCA run |
|
subset of features to use for PCA |
|
deprecated use feats_to_use |
|
boolean: return giotto object (default = TRUE) |
|
center data first (default = TRUE) |
|
scale features before PCA (default = TRUE) |
|
number of principal components to calculate |
|
which implementation to use |
|
additional parameters |
|
do a reverse PCA |
|
use of seed |
|
seed number to use |
|
verbosity of the function |
|
additional parameters for PCA (see details) |
Details¶
See ``runPCA` <#runpca>`_ and ``PCA` <#pca>`_ for more information about other parameters.
feats_to_use = NULL: will use all features from the selected matrix
feats_to_use =
: can be used to select a column name of highly variable features, created by (see ``calculateHVF` <#calculatehvf>`_ ) feats_to_use = c(‘geneA’, ‘geneB’, …): will use all manually provided features
Value¶
giotto object with updated PCA dimension recuction