statgen / pheweb

A tool to build a website to browse hundreds or thousands of GWAS.
MIT License
158 stars 65 forks source link

Allow assoc_min_mac and assoc_min_r2 #116

Closed pjvandehaar closed 3 years ago

pjvandehaar commented 5 years ago

Right now we calculate maf for every variant by looking for any of maf, af, ac, mac and num_samples. Should we calculate mac in the same way, or only allow assoc_min_mac if there's a maf column?

We already support a r2 field. Just add a threshold for it, and explain more clearly in the README how to tell pheweb about header names ("aliases").

Should we allow variant_min_mac or variant_min_r2? I don't see a need, but it's odd to have variant_min_maf without those. Perhaps remove variant_min_maf? People initially supported that feature, but I feel like they'd be fine without it.

pjvandehaar commented 3 years ago

Nah.