effNbIndepTests | R Documentation |
Return the effective number of independent tests according to the method of Galwey (2009).
effNbIndepTests(evCorX, corX, X, method = "galwey", pkg = "base", k)
evCorX |
eigenvalues of the correlation matrix between SNP genotypes |
corX |
correlation matrix between SNP genotypes (optional if |
X |
SNP genotypes in allele dose (i.e., 0, 1, 2) with individuals in rows and SNPs in columns (optional if |
method |
for now, only "galwey" is implemented |
pkg |
package to compute the eigenvalues of |
k |
number of eigenvalues requested (used by the RSpectra package) |
numeric
Timothee Flutre
adjustThreshGalwey
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.