gibbs_after_mcem_combine_chains: Combining from all chains the posterior samples for...

View source: R/gibbs_after_mcem_combine_chains.R

gibbs_after_mcem_combine_chainsR Documentation

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

Description

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

Usage

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'.

Value

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")


DGP4LCF documentation built on April 4, 2025, 1:13 a.m.