get_log10bf: Return the Bayes Factor for each effect

Description Usage Arguments Value

View source: R/pvdiv_gwas_results.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/switchgrassGWAS documentation built on Jan. 23, 2022, 7:55 p.m.