View source: R/multi_gene_pca.R
multi_gene_pca | R Documentation |
PCA is performed on cont_mat
, the matrix of multiple continuous
features. The first PC is returned, representing the dominant spatial
signature of the feature set. Its direction is negated if necessary so that
the majority of coefficients across features are positive (when the features
are highly correlated, this encourages spots with higher values to
represent areas of higher expression of the features).
multi_gene_pca(cont_mat)
cont_mat |
A |
A numeric()
vector with one element per spot, summarizing the
multiple continuous variables.
Nicholas J. Eagles
Other functions for summarizing expression of multiple continuous variables simultaneously:
multi_gene_sparsity()
,
multi_gene_z_score()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.