Per-effect local false sign rate (lfsr)
Source:R/mvsusie_get_functions.R
mvsusie_single_effect_lfsr.RdReturns the lfsr for each single effect and outcome.
Arguments
- clfsr
L x J x R conditional lfsr array.
- alpha
L x J matrix of posterior inclusion probabilities.
- lbf_outcome
L x R matrix of per-outcome conditional log BFs (from
compute_per_outcome_lbf). IfNULL(default), no filtering is applied.- min_lbf
Minimum per-outcome log BF threshold. Effects with
lbf_outcome < min_lbfget lfsr set to 1. Default isNULL(no filtering). Set to 0 to filter when BF < 1 (data favors the null).