plot.umx_GWAS: Plot GWAS Results

plot.umx_GWASR Documentation

Plot GWAS Results

Description

Generates a Manhattan or Q-Q plot for GWAS results. Requires the ggwas package.

Usage

## S3 method for class 'umx_GWAS'
plot(x, type = c("manhattan", "qq"), ...)

Arguments

x

A umx_GWAS object (returned by umxGSEM_GWAS).

type

Type of plot: "manhattan" (default) or "qq".

...

Additional arguments passed to ggwas manhattan_plot or qq_plot (optional package; install from GitHub bczech/ggwas if needed).

Details

See ?manhattan_plot for more parameters. Key ones include chromosomes to restrict chromosomes, highlight_snps to highlight a SNP, label_top_n, downsample (TRUE), and downsample_n (2e+05), title = NULL

Value

A ggplot object.

See Also

Other Reporting Functions: aic_weights(), umx, umxAPA(), umxFactorScores(), umxGetLatents(), umxGetManifests(), umxGetModel(), umxGetParameters(), umxParameters(), umx_aggregate(), umx_time()

Other GSEM: Anthro_LDSC, Psych_LDSC, umxGSEM(), umxGSEM_GWAS(), umxGSEM_dl_tutorial_files(), umxGSEM_label_ldsc(), umxGSEM_ldsc(), umxGSEM_munge(), umxGSEM_std(), umxGSEM_sumstats(), umxSummary.MxDataStatic(), umxSummary.list()

Examples

## Not run: 
# Requires optional GitHub package ggwas (not on CRAN):
#   remotes::install_github("bczech/ggwas")
# data(example_gwas, package = "ggwas")
# plot.umx_GWAS(example_gwas, type = "manhattan")

## End(Not run)

umx documentation built on Oct. 11, 2026, 5:07 p.m.