gwsem (version 2.1.4)

plot.gwsemResult: Creates a Manhattan plot

Description

Uses the qqman package to create a Manhattan plot.

Usage

# S3 method for gwsemResult
plot(x, y, ...)

Arguments

x

the result of loadResults

y

an extra argument that should not be used

...

arguments forwarded to manhattan

Value

A Manhattan plot.

See Also

Other reporting: isSuspicious(), loadResults(), signifGxE(), signif()

Examples

Run this code
# NOT RUN {
tdir <- tempdir()
dir <- system.file("extdata", package = "gwsem")
pheno <- data.frame(anxiety=rnorm(500))
m1 <- buildItem(pheno, 'anxiety')
GWAS(m1, file.path(dir,"example.bgen"),
    file.path(tdir,"out.log"))
got <- loadResults(file.path(tdir,"out.log"), "snp_to_anxiety")
plot(got)
# }

Run the code above in your browser using DataLab