Skip to contents

RSS analog of fit_susie_inf_then_susie. Fits SuSiE-inf via susie_rss first, then initialises standard SuSiE-RSS from the SuSiE-inf result. The single pair of fits can be used both for fine-mapping post-processing and TWAS weight extraction.

Usage

fit_susie_inf_then_susie_rss(
  z,
  R,
  n,
  args = list(),
  susie_inf_args = list(),
  susie_args = list(),
  fitted_models = NULL
)

Arguments

z

Numeric vector of z-scores.

R

LD correlation matrix.

n

Sample size (scalar).

args

Default arguments forwarded to both fits.

susie_inf_args

SuSiE-inf-specific overrides.

susie_args

Standard SuSiE-RSS-specific overrides.

fitted_models

Optional list with pre-fitted $susie and/or $susie_inf objects to skip re-fitting.

Value

A list with susie and susie_inf fit objects.