lambdaNPlot: Lambda-N plot

View source: R/lambdaNPlot.R

lambdaNPlotR Documentation

Lambda-N plot

Description

Lambda-N plot

Usage

lambdaNPlot(x, pval_column = "p.value", n_column = "n.obs", threshold = 1.2)

Arguments

x

list of data.frames (output of ds.GWAS) List of tables (default output of ds.GWAS).

pval_column

character (default "p.value") Name of the column containing the p-values.

n_column

character (default "n.obs") Name of the column containing the number of observations.

threshold

numeric (default 1.2) Threshold to be plotted. Cohorts with a lambda above this threshold will be labeled to identify them easily.

Details

Plot to reveal issues with population stratification. Population stratification can either inflate or deflate association P values and can be grasped by the genomic control (GC) inflation factor (lambdaGC). Studies with lambdaGC > 1.2 should be revised.


isglobal-brge/dsOmicsClient documentation built on March 20, 2023, 3:52 p.m.