Description Usage Arguments Value Examples
Identify important PCs from total principal components analysis (within a Seurat object). TestPCA functions by generating a z-score corresponding to each respective PC's proportional contribution to the total variance. Can be used similarly to the Seurat function ElbowPlot, which plots each successive PC by its standard deviation.
1 2 3 4 5 |
object |
A seurat object with variable features set and data scaled |
genes.use |
(Optional) The vector of variable features used to construct the PCs. Can be used in place of "object" to apply a specific set of variable genes. |
mtx.use |
(Optional) The expression matrix used to construct the PCs. Can be used in place of "object" to apply a specific matrix (such as non-scaled data or ADT counts). At a minimum, this matrix must included the variable features included in "genes.use" |
Returns a table containing the z-score of the cumulative percent of total variance for each PC
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.