qb.coda {qtlbim} | R Documentation |
This function creates an object of class mcmc
from
an object of class qb
produced by the package R/qtlbim
.
qb.coda(qbObject, element, variables, ...)
qbObject |
An object of class qb returned by calling the function
qb.mcmc .
|
element |
A character string which has to one of "iterdiag" , "mainloci" ,
"pairloci" , "covariates" , or
"gbye" ; default is "iterdiag" . |
variables |
A vector of integers specifying the columns or
column names of element to be considered. Details about the
columns can be found in qb.mcmc |
... |
Additional arguments to pass along (mostly ignored). |
This package requires the package coda
.
An object of class mcmc
. This object could be
used to analyze the MCMC output using R/coda.
Dr. Nengjun Yi, et al., nyi@ms.ssg.uab.edu
data(qbExample) ## Default plots for iteration diagnostics "iterdiag". temp <- qb.coda(qbExample) plot(temp) ## Summaries for some "mainloci" elements. temp <- qb.coda(qbExample, "mainloci") plot(temp)