chr1swallace / coloc

Repo for the R package coloc
144 stars 44 forks source link

adding z-score only analysis #26

Open jinshaw16 opened 4 years ago

jinshaw16 commented 4 years ago

Hi Chris,

You may not think this is helpful, it's just a small change that I thought was helpful when using eQTLgen data, which just has p-values and z-scores (no betas or SEs). When you have very associated variants and the p-value is smaller than the smallest number possible in R, it makes more sense to use the z-scores, as otherwise you have many variants all with the minimum value R can handle and cannot be distinguished between.

There won't be many places where this is useful, - it is the same as the p-value abf calculation which will be applicable in most scenarios.

Feel free to reject if no time to check.

Best wishes,

Jamie