snpmod.add: snpmod.add

Description Usage Arguments Value Author(s)

Description

Add Bayes factors across datasets for models evaluated in each

Usage

1
2
snpmod.add(..., priors = snpprior(0:20, n = 932, expected = 3),
  BFcolumn = "logABF", .marginals = TRUE)

Arguments

...

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

Value

an object of class snpmod

Author(s)

Chris Wallace


chr1swallace/GUESSFM documentation built on May 13, 2019, 6:17 p.m.