RexParams.RdThe RexParams infrastructure is used to store and process MCMC results for
Rex model from Crook et al 2024.
chains(object)
# S4 method for RexParams
show(object)
# S4 method for RexChain
show(object)
# S4 method for RexSummary
show(object)
# S4 method for RexChains
length(x)
# S4 method for RexParams
length(x)
posteriorEstimates(object)
# S4 method for RexSummary
posteriorEstimates(object)
Rex.quantiles(object)
# S4 method for RexSummary
Rex.quantiles(object)
Rex.resolution(object)
# S4 method for RexSummary
Rex.resolution(object)
Rex.peptideError(object)
# S4 method for RexSummary
Rex.peptideError(object)
Rex.globals(object)
# S4 method for RexSummary
Rex.globals(object)
# S4 method for RexParams
posteriorEstimates(object)
# S4 method for RexParams
Rex.quantiles(object)
# S4 method for RexParams
Rex.resolution(object)
# S4 method for RexParams
Rex.peptideError(object)
# S4 method for RexParams
Rex.globals(object)
# S4 method for RexChains,ANY,ANY
[[(x, i, j = "missing", drop = "missing")
# S4 method for RexChains,ANY,ANY,ANY
[(x, i, j = "missing", drop = "missing")
# S4 method for RexParams,ANY,ANY,ANY
[(x, i, j = "missing", drop = "missing")
# S4 method for RexChains
show(object)
# S4 method for RexDifferential
show(object)
Rex.predictionError(object)
Rex.estimates(object)
Rex.probs(object)
Rex.eFDR(object)
# S4 method for RexDifferential
Rex.predictionError(object)
# S4 method for RexDifferential
Rex.estimates(object)
# S4 method for RexDifferential
Rex.probs(object)
# S4 method for RexDifferential
Rex.eFDR(object)An instance of appropriate class.
Object to be subset.
An integer(). Should be of length 1 for [[.
Missing.
Missing.
An object of class RexParams which stores the main results
for the analysis when using Rex
Objects of the RexParams class are created with the Rex() function
These objects store the priors for the model and the results of the MCMC
chains, which themselves are stored as an instance of class RexChains and
can be accessed with the chains() function. A summary of the RexChains
(or class RexSummary) can be further computed with the RexProcess
function.
see the RexMS vignette for examples
chainslist() containing the individual full MCMC chain
results in an RexChains instance. Each element must be a
valid RexChain instance.
posteriorEstimatesA DataFrame documenting the posteriors
in an RexSummary instance
diagnosticsA matrix of dimensions 1 by 2 containing the
RexSummary diagnostics.
Rex.quantilesA DataFrame of with R rows indicated quantiles for key
parameters in the Rex model
Rex.globalsA DataFrame of with R rows indicated global parameters
at the moment the standard deviation sigma and the model likelihoods
Rex.resolutionA DataFrame of with R rows indicated resolution metrics
Rex.peptideErrorA DataFrame indicated peptide error
methodA character() storing the Rex method name
priorsA list() with the priors for the parameters
seedAn integer() with the random number generation seed.
summaryObject of class RexSummary the summarised MCMC results
available in the RexParams instance.
chainsObject of class RexChains containing the full MCMC results
in the RexParams instance
intervalA numeric() with the interval for the residues cover
datasetcharacter indicating the dataset
blongmatrix of dimensions R by numIter containing the
blong values for the residues
pilongmatrix of dimensions R by numIter containing the
pilong values for the residues
qlongmatrix of dimensions R by numIter containing the
qlong values for the residues
dlongmatrix of dimensions R by numIter containing the
dlong values for the residues
loglikelihoodnumeric of length numIter containing the
loglikelihood values
phinumeric of length 1 containing the phi values for the model
UptakeGuesslist each with a matrix of dimensions R by numTimepoints
containing the UptakeGuess values for the residues
numBreaknumeric of length numIter containing the number of breakpoints
Sigmanumeric of length numIter containing the Sigma values
Rinteger of length 1 containing the number of residues
timepointsnumeric of length numTimepoints containing the timepoints
numIterinteger of length 1 containing the number of mcmc iterations
numPeptidesinteger of length 1 containing the number of peptides
numTimepointsinteger of length 1 containing the number of timepoints
datasetcharacter indicating the dataset
Rex.predictionErrorDFrame containing the prediction error
Rex.estimatesDFrame containing the estimates ARE, TRE, signed ARE
Rex.probsDFrame containing the probabilities and total probabilities
Rex.eFDRDFrame containing the eFDR