This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to use qqman using own data?

I'm quite new to R so I installed the qqman package and everything and it says that the command to generate a Manhattan plot is the following:

manhattan(gwasResults, chr="CHR", bp="BP", snp="SNP", p="P" )

How can I replace their default data (gwasResults) with my own file and what type of file does it take? Is it an association file generated from PLINK?

Thanks!

gwas r

It is written in the first page of the manual: they are "Simulated GWAS results as obtained from plink --assoc." You can find the manual here

0 answers

No answers yet.

Log in to answer this question.