plot.gwsemResult: Creates a Manhattan plot

Description Usage Arguments Value See Also Examples

View source: R/report.R

Description

Uses the qqman package to create a Manhattan plot.

Usage

1
2
## S3 method for class '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

1
2
3
4
5
6
7
8
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)

gwsem documentation built on Jan. 18, 2022, 1:09 a.m.