You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you help to confirm the scale of betas from the MCMC sampling in your newest bigsnpr release?
It looks like the beta sample returned by snp_ldpred2_grid is on allelic scale, but the beta sample returned by snp_ldpred2_auto is on standardized scale, is it correct?
but $sample_beta is indeed on the standardized scale. You can probably use Matrix::Diagonal(x = scale) %*% auto$sample_beta to transform it to the allelic scale, where scale <- with(df_beta, sqrt(n_eff * beta_se^2 + beta^2)).
Hi Florian,
Could you help to confirm the scale of betas from the MCMC sampling in your newest bigsnpr release?
It looks like the beta sample returned by snp_ldpred2_grid is on allelic scale, but the beta sample returned by snp_ldpred2_auto is on standardized scale, is it correct?
bigsnpr/R/LDpred2.R
Line 139 in ee9f2ed
bigsnpr/R/LDpred2.R
Line 182 in ee9f2ed
Best,
Yi
The text was updated successfully, but these errors were encountered: