get_lambdagc: Find lambda_GC value for non-NA p-values

Description Usage Arguments Value

View source: R/pvdiv_gwas.R

Description

Finds the lambda GC value for some vector of p-values.

Usage

1
get_lambdagc(ps, tol = 1e-08)

Arguments

ps

Numeric vector of p-values. Can have NA's.

tol

Numeric. Tolerance for optional Genomic Control coefficient.

Value

A lambda GC value (some positive number, ideally ~1)


Alice-MacQueen/switchgrassGWAS documentation built on Jan. 23, 2022, 7:55 p.m.