gibbs_after_mcem_combine_chains {DGP4LCF}R 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")


[Package DGP4LCF version 1.0.0 Index]