caitiecollins / treeWAS

treeWAS: A Phylogenetic Tree-Based Tool for Genome-Wide Association Studies in Microbes
Other
94 stars 18 forks source link

Error in generating Manhattan plot #39

Closed JialunWu closed 5 years ago

JialunWu commented 5 years ago

Hi I've been trying to test treeWAS on a set of 62 bacterial genomes, although treeWAS seems to work fine, I always have this error output when using manhattan.plot function regardless using output from terminal/simultaneous/subsequent, and the graph it generates has been attached

Rplot

manhattan.plot(pHout$subsequent$p.vals) Error in xy.coords(x, y) : 'x' and 'y' lengths differ In addition: Warning message: In max(sig.thresh) : no non-missing arguments to max; returning -Inf

Looking forward to hear from you. Thanks!

JialunWu commented 5 years ago

Hi I've just found out the problem. I just have to scroll back to previous plots generated in RStudio, as you suggested in one of your previous answers! Sorry if this has bothered you! I'm just quiet new to R.

Thanks a lot! Great GWAS program!

xavierdidelot commented 5 years ago

Thanks, I'm really glad you solved it!