Description Usage Arguments Value Author(s)
Add Bayes factors across datasets for models evaluated in each
1 2 | snpmod.add(..., priors = snpprior(0:20, n = 932, expected = 3),
BFcolumn = "logABF", .marginals = TRUE)
|
... |
two or more objects of class snpmod containing the same models. Bayes factors will be summed for each model across the datasets. |
priors |
named numeric vector of prior probabilities for models of given sizes. Elemenets are the probabilities. Names are the size. |
BFcolumn |
column name that contains the (log) Bayes factor. |
.marginals |
if TRUE, evaluate marginal SNP probabilities. This can be time consuming, so can be disabled for repeated use of this function to add over multiple objects. Not intended to be set by users |
an object of class snpmod
Chris Wallace
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.