Extracts coefficients from an existing SuSiE-RSS fit or fits
susieR::susie_rss() from summary statistics and LD.
Usage
susie_rss_weights(
stat,
LD,
susie_rss_fit = NULL,
retain_fit = TRUE,
method_args = list()
)Arguments
- stat
List with components
z(z-scores),n(sample sizes).- LD
LD correlation matrix.
- susie_rss_fit
Optional pre-fitted SuSiE-RSS object.
- retain_fit
If TRUE, stores the fitted object as an attribute.
- method_args
Named list of additional arguments passed to
susieR::susie_rss(). Use this instead of...to avoid partial matching of short argument names (e.g.L) to theLDparameter.