qqman icon indicating copy to clipboard operation
qqman copied to clipboard

Bugfix: manhattan.R now indexes with BP, not SNP which should be an optional column

Open samuelejones opened this issue 11 months ago • 0 comments

As the title suggests, the manhattan function does not require a SNP column, but when creating the index (to handle the cases where there are missing chromosomes), it uses the CHR and (possibly non-existent) SNP column. I have replaced the call to d$SNP with d$BP, which is a required column and produces the same result as using d$SNP (when it exists).

I'm honestly not sure how this has been broken for 7 years without a fix...

samuelejones avatar Mar 18 '24 16:03 samuelejones