ewaff.qq.plot | R Documentation |
QQ plot
ewaff.qq.plot(
p.values,
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"
)
p.values |
A vector of p-values, one per association test. |
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", "robust", or "none" (Default: "median"). A value of "none" will prevent the lambda value being displayed on the plot. |
An ggplot
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.