summary.swap {bqtl} | R Documentation |
Calculate marginal posteriors for location, posterior means for coefficients, and the Bayes Factor for k vs k-1 genes
## S3 method for class 'swap': summary(object, method=NULL, ncoef=length(sc.obj$alt.coef), nloc=sc.obj$nloc)
object |
The result of swap |
method |
Optional. One of the supported methods, see make.analysis.obj |
ncoef |
Optional. The number of coefficients in the class of
models. Typically, 2*nloc for method=="F2" and
nloc for all other methods |
nloc |
Optional. The number of loci in the sample space. |
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 mean , an estimate of the
Bayes Factor for k versus k-1 gene models, and var , an estimate
of its variance. |
Charles C. Berry cberry@ucsd.edu