Description Usage Arguments Value References
Randomly permutes a subset of data, and calculates projected PCA scores for these 'random' genes. Then compares the PCA scores for the 'random' genes with the observed PCA scores to determine statistical signifance. End result is a p-value for each gene's association with each principal component.
1 2 |
object |
Seurat object |
num.pc |
Number of PCs to compute significance for |
num.replicate |
Number of replicate samplings to perform |
prop.freq |
Proportion of the data to randomly permute for each replicate |
do.print |
Print the number of replicates that have been processed. |
rev.pca |
By default computes the PCA on the cell x gene matrix. Setting to true will compute it on gene x cell matrix. This should match what was set when the intial PCA was run. |
do.fast |
Compute the PCA using the fast approximate calculation from the IRLBA package. Values stored with object must also have been computed using the PCAFast() function. |
Returns a Seurat object where object@jackStraw.empP represents p-values for each gene in the PCA analysis. If ProjectPCA is subsequently run, object@jackStraw.empP.full then represents p-values for all genes.
Inspired by Chung et al, Bioinformatics (2014)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.