stephenturner / qqman

An R package for creating Q-Q and manhattan plots from GWAS results
http://cran.r-project.org/web/packages/qqman/
GNU General Public License v3.0
154 stars 92 forks source link

Could you please help to sort out some error when running the manhattan function? Many thanks! #17

Closed owwa closed 9 years ago

owwa commented 10 years ago

Dear Stephen,

Thank you for developing the nice tool qqman. Could you please help to sort out some error when running the manhattan function? Many thanks!

I want to modify the settings on pch and y axis lable.

when I run: manhattan(results, pch=20), I got the following error information: Error in localWindow(xlim, ylim, log, asp, ...) : formal argument "pch" matched by multiple actual arguments

and when I run: manhattan(results, ylab="my label"), I got the following error information: Error in plot.default(NULL, xaxt = "n", bty = "n", xaxs = "i", yaxs = "i", : formal argument "ylab" matched by multiple actual arguments

stephenturner commented 10 years ago

The version on the dev branch will allow you to set ylab manually, but pch will be a little trickier to deal with. I'd recommend opening up the code and editing the pch= arguments manually, for now.