get_log10bf: Return the Bayes Factor for each effect

Description Usage Arguments Value

View source: R/mash-evaluation.R

Description

Return the Bayes Factor for each effect

Usage

1

Arguments

m

the mash result (from joint or 1by1 analysis); must have been computed using usepointmass = TRUE

Value

if m was fitted using usepointmass=TRUE then returns a vector of the log10(bf) values for each effect. That is, the jth element lbf_j is log10(Pr(Bj | g = ghat-nonnull)/Pr(Bj | g = 0)) where gha t-nonnull is the non-null part of ghat. Otherwise returns NULL.


Alice-MacQueen/snpdiver documentation built on Dec. 17, 2021, 8:41 a.m.