sampling: The main sampling function.

Description Usage Arguments Value Examples

View source: R/sampling.R

Description

The main sampling function.

Usage

1
sampling(opt_tmp, run_step, with_region)

Arguments

opt

A list of parameters in Gibbs script mode String. burnin/post_burnin with_region Logical. Whether the region risk is evaluated

Value

A list. count A data.table including all posterior probability and region risk p. chosen A data.table ncluding the genes chosen in each round. region_risk A data.table including the TRUE/FALSE in each round.

Examples

1
burnin <- sampling(opt,mode="burnin",with_region=FALSE)

crotoc/iRIGS documentation built on March 9, 2021, 11:37 p.m.