proccess Rex results

RexProcess(
  HdxData,
  params,
  thin = 1,
  range = seq.int(4000, 5000, by = thin),
  whichChains = c(1, 2)
)

Arguments

HdxData

An object of class DataFrame containing the HDX-MS data

params

An object of class RexParams

thin

The thinning interval. Default is 1

range

The iterations to keep. Default is seq.int(4000, 5000, by = thin)

whichChains

The chains to keep. Default is c(1,2)

Value

An object of class RexParams with its summary slot populated

Examples

require(RexMS)
require(dplyr)
data("BRD4_apo")
BRD4_apo <- BRD4_apo %>% filter(End < 40)

numTimepoints <- length(unique(BRD4_apo$Exposure))
Timepoints <- unique(BRD4_apo$Exposure)

rex_example <- rex(HdxData = DataFrame(BRD4_apo),
                numIter = 4, # typically much larger
                R = max(BRD4_apo$End),
                numtimepoints = numTimepoints,
                timepoints = Timepoints,
                seed = 1L,
                numChains = 1L,
                tCoef = c(0, rep(1, 5)),
                BPPARAM = SerialParam())
#> Fold 1 ... Fold 2 ... Fold 3 ... Fold 4 ... Fold 5 ... 
#> 
  |                                                                            
  |                                                                      |   0%
rex_example <- RexProcess(HdxData = DataFrame(BRD4_apo),
                          params = rex_example,
                          thin = 1,
                          range = 1:4,
                          whichChains = c(1))