prcompExprs | R Documentation |
Principal component analysis of an expression matrix
prcompExprs(matrix, ntop = NULL, scale = FALSE, nbin = NULL)
matrix |
Numeric matrix. Features in rows and samples in columns. |
ntop |
Integer or NULL. If not |
scale |
Logical, whether variance of features should be scaled to 1.
Default |
nbin |
Integer. Genes are divided into |
Nguyen, Lan Huong, and Susan Holmes. "Ten Quick Tips for Effective Dimensionality Reduction." PLOS Computational Biology 15, no. 6 (2019): e1006907
topVarRowsByMeanBinning
myTestExprs <- matrix(rnorm(1000), ncol=10, byrow=FALSE)
myTestExprs[1:50, 6:10] <- myTestExprs[1:50, 6:10] + 2
myTopPca <- prcompExprs(myTestExprs, ntop=50, nbin=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.