bayes_factor | R Documentation |
The function runs a modified version of FOCUS's Bayes factor calculation
bayes_factor(
zscores,
idx_set,
wcor,
prior_chisq = 40,
prb = 0.001,
use_log = T
)
zscores |
numeric, vector of Z-scores |
idx_set |
character, ids of transcripts |
wcor |
numeric, correlation matrix from estimate_cor |
prior_chisq |
numeric, prior for chi-square mean |
prb |
numeric, prior for causal configuration |
use_log |
logical, use log of bayes factors |
bayes factor vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.