lognormalize_and_pca | R Documentation |
This function wrapps the default Seurat analysis of 1. data normalisation, 2. identification of HVGs, 3. scaling expression and computing PCA. If a list of Seurat objects is provided this is performed for each element in the list.
lognormalize_and_pca(seu, npcs = NULL, n_hvgs = 3000, ...) ## S3 method for class 'list' lognormalize_and_pca(seu, npcs = NULL, n_hvgs = 3000, ...) ## S3 method for class 'Seurat' lognormalize_and_pca(seu, npcs = NULL, n_hvgs = 3000, ...)
seu |
Seurat object or list of Seurat objects(required). |
npcs |
Number of Principal Components (PCs) to compute. If NULL, PCA analysis is skipped. |
n_hvgs |
Number of highly variable genes (HVGs) to compute. Only HVGs will be used as input to PCA. |
... |
Additional named parameters passed to Seurat functions. |
List of processed Seurat objects. If a single sample, returns a processed Seurat object instead of a list.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.