Skip to contents

For a functional-SuSiE (fsusieR::susiF) fine-mapping entry, returns the fitted effect curve and its credible band over the functional grid, one row per (credible set, grid position). Wraps the upstream fSuSiE band computation (fsusieR's internal update_cal_credible_band.susiF + get_fitted_effect). Requires an UNtrimmed fit (the wavelet slots are dropped by trimming); degrades to zero rows for non-fSuSiE or trimmed fits.

Usage

fsusieCredibleBand(x, ...)

# S4 method for class 'FineMappingEntry'
fsusieCredibleBand(x, ...)

# S4 method for class 'FineMappingResultBase'
fsusieCredibleBand(x, ...)

Arguments

x

A FineMappingEntry or FineMappingResultBase.

...

Ignored.

Value

A long data.frame: cs, chrom, pos, effect, lower, upper (the collection method additionally carries the entry identity columns).