Calculate marginal posteriors for location, posterior means for coefficients, and the Bayes Factor for k vs k-1 genes
# S3 method for swap
summary(object, method=NULL, ncoef=length(object$alt.coef), nloc=object$nloc,...)A list with components:
A vector of (marginal) posterior odds for each locus compared to a no gene model
Posterior means of coefficients.
A list with components mean, an estimate of the
Bayes Factor for k versus k-1 gene models, and var, an estimate
of its variance.
The result of swap
Optional. One of the supported methods, see make.analysis.obj
Optional. The number of coefficients in the class of
models. Typically, 2*nloc for method=="F2" and
nloc for all other methods
Optional. The number of loci in the sample space.
ignored
Charles C. Berry cberry@ucsd.edu