| .compute_reduction | R Documentation |
Compute PCA or UMAP on expression data when not available in stored reductions.
.compute_reduction(
expression,
method = c("PCA", "UMAP"),
seed = 42,
n_genes = 2000,
n_pcs = 50
)
expression |
Expression matrix with genes as rows and cells as columns |
method |
Character string: "PCA" or "UMAP" |
seed |
Integer seed for reproducible results (default: 42) |
Matrix with cells as rows and dimensions as columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.