summary.swap {bqtl} | R Documentation |
Summarize Gibbs samples for a k-gene model
Description
Calculate marginal posteriors for location, posterior means for coefficients, and the Bayes Factor for k vs k-1 genes
Usage
## S3 method for class 'swap'
summary(object, method=NULL, ncoef=length(object$alt.coef), nloc=object$nloc,...)
Arguments
object |
The result of |
method |
Optional. One of the supported methods, see |
ncoef |
Optional. The number of coefficients in the class of
models. Typically, |
nloc |
Optional. The number of loci in the sample space. |
... |
ignored |
Value
A list with components:
loc.posterior |
A vector of (marginal) posterior odds for each locus compared to a no gene model |
coefs |
Posterior means of coefficients. |
ratio |
A list with components |
Author(s)
Charles C. Berry cberry@ucsd.edu
[Package bqtl version 1.0-36 Index]