zz_plot | R Documentation |
Calculate Z scores from the reported P values (Zp) and the reported log odds ratios (Zlnor). Construct a scatter plot of Zp and Zlnor
zz_plot(
dat = NULL,
Title = "ZZ plot",
Ylab = "Z score inferred from p value",
Xlab = "Z score inferred from effect size and standard error",
beta = "lnor",
se = "lnor_se",
exclude_1000G_MAF_refdat = TRUE,
publication_quality = FALSE
)
dat |
the target dataset of interest |
Title |
plot title |
Ylab |
label for Y axis |
Xlab |
label for X axis |
beta |
the name of the column containing the SNP effect size |
se |
the name of the column containing the standard error for the SNP effect size |
exclude_1000G_MAF_refdat |
exclude rsids from the 1000 genome MAF reference dataset. |
publication_quality |
produce a very high resolution image e.g. for publication purposes. Default FALSE |
plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.