effNbIndepTests: Multiple testing

View source: R/stats.R

effNbIndepTestsR Documentation

Multiple testing

Description

Return the effective number of independent tests according to the method of Galwey (2009).

Usage

effNbIndepTests(evCorX, corX, X, method = "galwey", pkg = "base", k)

Arguments

evCorX

eigenvalues of the correlation matrix between SNP genotypes

corX

correlation matrix between SNP genotypes (optional if evCorX is supplied)

X

SNP genotypes in allele dose (i.e., 0, 1, 2) with individuals in rows and SNPs in columns (optional if corX is supplied)

method

for now, only "galwey" is implemented

pkg

package to compute the eigenvalues of corX if evCorX is not supplied (base/RSpectra)

k

number of eigenvalues requested (used by the RSpectra package)

Value

numeric

Author(s)

Timothee Flutre

See Also

adjustThreshGalwey


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.