h2v2WX2019: GWAS power analysis

View source: R/stats.R

h2v2WX2019R Documentation

GWAS power analysis

Description

Computes a QTL heritability using effective correlation. Useful for the power analysis of a GWAS from Wang and Xu (2019). Code from White et al (2020).

Usage

h2v2WX2019(
  n = 2000,
  lambda = 1,
  rho = 0.5,
  power = 0.85,
  m = 1e+05,
  alpha = 0.05
)

Arguments

n

actual sample size

lambda

lambda

rho

effective correlation coefficient from the sample

power

power

m

number of markers

alpha

alpha

Value

numeric

Author(s)

Jon White


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