privefl / bigsnpr

R package for the analysis of massive SNP arrays.
https://privefl.github.io/bigsnpr/
186 stars 44 forks source link

Is it possible to plot p-values with multiple corrections? #483

Closed garyzhubc closed 7 months ago

garyzhubc commented 7 months ago

Is it possible to plot p-values with multiple corrections? Like p.adjust

privefl commented 7 months ago

Just use this function or any other R package of your choice that can do this.

garyzhubc commented 7 months ago

But I cannot plot it with snp_manhattan right?

privefl commented 7 months ago

Not directly, no. You can probably modify attr(obj.gwas, "predict"), or simply adapt the code from snp_manhattan().