gibbs_after_mcem_combine_chains function

Combining from all chains the posterior samples for parameters in the model and predicted gene expressions.

Combining from all chains the posterior samples for parameters in the model and predicted gene expressions.

gibbs_after_mcem_combine_chains(tot_chain, gibbs_after_mcem_algorithm_result)

Arguments

  • tot_chain: A numeric scalar. Total number of chains.
  • gibbs_after_mcem_algorithm_result: A list of objects storing model constants. Should be the same as that input to the 'function gibbs_after_mcem_load_chains'.

Returns

All saved posterior samples for parameters in the model and predicted gene expressions.

Examples

# See examples in vignette vignette("bsfadgp_regular_data_example", package = "DGP4LCF")
  • Maintainer: Jiachen Cai
  • License: MIT + file LICENSE
  • Last published: 2025-03-08

Useful links