FINNGEN / META_ANALYSIS

Tools for doing x way meta-analysis
MIT License
6 stars 14 forks source link

Bugfix: Added dummy SNP column for manhattan function in qqman #63

Closed samuelejones closed 6 months ago

samuelejones commented 6 months ago

Newer versions of qqman (i.e. v0.1.4 or greater) have a bug that requires a SNP column. The qqplot.R scripts was built and implemented around an older version of qqman, but using updated versions (e.g. via more recent docker containers) will cause a crash. I have added a dummy SNP column and edited the calls to the qqman manhattan function so that this column exists and thus should work with more recent versions of qqman.

Changes tested with qqman v0.1.3 (prior to this big being introduced) and v0.1.9 (latest version; after this bug was introduced) with both tests succeeding.