View source: R/genomic.inflation.factor.R
genomic.inflation.factor | R Documentation |
Evalutes the genomic inflation factor (lambda) for genome-wide association studies. In details, lambda is the observed median value of the chi-squared statistic for the null markers divided by the expected median value of the chi-squared statistic (approximately 0.456 for 1 degree of freedom tests).
genomic.inflation.factor(values, type = "pvalue")
values |
the statistic distribution |
type |
statistic distribution (allowed: zscore, chisq, pvalue – default: pvalue) |
the "inflation factor" lambda
Alessia Visconti
pvalues <- abs(rnorm(1000, mean=0.001, sd=0.1))
genomic.inflation.factor(pvalues, "pvalue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.