effNbIndepTestsPerChr: Multiple testing

View source: R/stats.R

effNbIndepTestsPerChrR Documentation

Multiple testing

Description

Return the effective number of independent tests according to the method of Galwey (2009) for a given chromosome after estimating the LD along it.

Usage

effNbIndepTestsPerChr(lcorX, method = "galwey", pkg = "base", k, nb.cores = 1)

Arguments

lcorX

list of correlation matrices between SNP genotypes, one per chromosome (see estimLdPerChr)

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)

nb.cores

number of cores to to run each chromosome in parallel

Value

numeric

Author(s)

Maxence Remerand, Timothee Flutre

See Also

effNbIndepTests, adjustThreshGalwey


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