meffil.ewas.qq.plot: QQ plot for EWAS

View source: R/plot-ewas.r

meffil.ewas.qq.plotR Documentation

QQ plot for EWAS

Description

QQ plot for EWAS

Usage

meffil.ewas.qq.plot(
  ewas.object,
  sig.threshold = 1e-07,
  sig.color = "red",
  title = "QQ plot",
  xlab = bquote(-log[10]("expected p-values")),
  ylab = bquote(-log[10]("observed p-values")),
  lambda.method = "median"
)

Arguments

ewas.object

Return object from meffil.ewas().

sig.threshold

P-value threshold for significance (Default: 1e-7).

sig.color

Color for points corresponding to significant tests (Default: "red").

title

Title for the plot (Default: "QQ plot").

xlab

Label for the x-axis (Default: -log_10(expected p-values)).

ylab

Label for the y-axis (Default: -log_10(observed p-values)).

lambda.method

Method for calculating genomic inflation lambda. Valid values are "median", "regression", or "robust" (Default: "median").

Value

List of ggplot for each analysis in ewas.object.


perishky/meffil documentation built on June 9, 2024, 5:59 p.m.