R/ctwas_anno_finemap_res.R
z2p.Rd
convert z-scores to pvalues
z2p(z, neg_log10_p = FALSE)
a vector of z-scores
If TRUE, returns -log10(p-values). Otherwise, returns p-values.
a vector of p-values, or -log10(p-values) if neg_log10_p is TRUE.