Description Usage Arguments Value Examples
Reduce the dimensions of an expression matrix stored in an EMSet based on the most variable genes. Datasets must be reduced prior to clustering analysis as it is used to construct the distance matrix.
1 2 3 4 |
object |
An EMSet that has undergone filtering and normalisation. |
... |
Additional arguments to pass to irlba |
ngenes |
The top number of genes you would like to perform the reduction by. Default: 1500. |
scaling |
Boolean - set to FALSE if you do not want to scale your values. Default: TRUE. |
An EMSet with a PCA-reduced matrix stored under PCA in the reducedDims slot
1 2 3 4 5 | # Load example EMSet
em_set <- ascend::analyzed_set
# Run PCA
em_set <- runPCA(em_set, scaling = TRUE, ngenes = 1500)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.