Learn R Programming

EMAS (version 0.2.2)

EMAS.manhattan: Plotting the manhattan plot from the EMAS results

Description

Function to plot a manhattan plot from the Emas results.

Usage

EMAS.manhattan(E.result, type = "EPIC", ...)

Value

No return value, called for side effects.

Arguments

E.result

A data.frame produced by Emas.

type

A character string indicating the type of annotation, only "EPIC" and "450k" are available.

...

Other arguments passed to manhattan.

Author

Xiuquan Nie, niexiuquan1995@foxmail.com

Details

This function can plot a manhattan plot from the Emas results according to the annotation from 450k or EPIC.

References

Turner, (2018). qqman: an R package for visualizing GWAS results using Q-Q and manhattan plots. Journal of Open Source Software, 3(25), 731. tools:::Rd_expr_doi("doi:10.21105/joss.00731").

Examples

Run this code
data(E.result)
EMAS.manhattan(E.result, type = "EPIC",
               genomewideline = -log10(0.05/2000),
               suggestiveline = -log10(1/100), ylim=c(0,5))

Run the code above in your browser using DataLab