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
156 stars 91 forks source link

Question: how do I get all the chromosomes labels displayed on the x-axis? #56

Closed swvanderlaan closed 7 years ago

swvanderlaan commented 7 years ago

Hi, For some reason, not all the chromosome labels are printed on the x-acis: 1 through 16 are, than 17 is omitted, and than 18 and 19 are, than 20 is omitted and 21 through Y are. So, all the dots (p-values/SNPs) are printed, just not the chromosome labels. Naively I just made the width larger, but that didn't work.

How do I go about having those labels printed?

Thanks.

stephenturner commented 7 years ago

I think simply increasing the figure size will help.

swvanderlaan commented 7 years ago

Thanks. Do you have a suggestion as to how to force R to print all chromosome labels?

stephenturner commented 7 years ago

The only way I know how is to increase the figure size.