stephenslab / susieR

R package for "sum of single effects" regression.
https://stephenslab.github.io/susieR
Other
172 stars 43 forks source link

Z-scores, beta and SE beta in susie #160

Open carolynmcgrail opened 2 years ago

carolynmcgrail commented 2 years ago

Hello,

I am running a linear regression using susie() and have set compute_univariate_zscore=TRUE. How can the effect sizes and SE be obtained for each signal that correspond to these z scores? Thank you.

Best, Carolyn

stephens999 commented 2 years ago

i believe susie does not output those at present

gaow commented 2 years ago

@carolynmcgrail It's a simple linear regression done multiple times over each variable. If you want to use it you can find our impoelmentation here: https://github.com/stephenslab/susieR/blob/master/R/univariate_regression.R you can run it separate from SuSiE and then set compute_univariate_zscore=FALSE to avoid redoing it in the susie() function call.