Skip to contents

Extracts coefficients from an existing SuSiE-ASH-RSS fit or fits susieR::susie_rss() with unmappable_effects = "ash".

Usage

susieAshRssWeights(
  stat,
  LD,
  susieAshRssFit = NULL,
  retainFit = TRUE,
  methodArgs = list()
)

Arguments

stat

List with components z (z-scores), n (sample sizes).

LD

LD correlation matrix.

susieAshRssFit

Optional pre-fitted SuSiE-ASH-RSS object.

retainFit

If TRUE, stores the fitted object as an attribute.

methodArgs

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 the LD parameter.

Value

Numeric vector of variant weights.