calcpca | R Documentation |
Do dimensional reduction using pca.
calcpca(cross, pheno.cols, n.max = 5, criteria = 0.9, nn = 0)
cross |
An object of class |
pheno.cols |
Columns in the phenotype matrix to be used as the phenotype. |
n.max |
The number of maximum reduced dimension. |
criteria |
how much of variance explained. |
nn |
The number of exact reduced dimension |
It gives a matrix that each column have principal components.
Il-Youp Kwak, <email: ikwak2@stat.wisc.edu>
scanoneM
data(exd) exd <- calc.genoprob(exd, step=2) Y <- calcpca(exd, criteria=0.9) out1 <- scanoneM(exd, Y, method = "hk")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.