sampleWX2019: GWAS power analysis

View source: R/stats.R

sampleWX2019R Documentation

GWAS power analysis

Description

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

Usage

sampleWX2019(
  h2 = 0.05,
  lambda = 1,
  rho = 0.5,
  power = 0.85,
  m = 1e+05,
  alpha = 0.05
)

Arguments

h2

QTL heritability

lambda

lambda

rho

effective correlation coefficient

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.