region_chosen_update: Whether a region is chosen as a conditional-on region in the...

Description Usage Arguments Value Examples

View source: R/region_chosen_update.R

Description

Whether a region is chosen as a conditional-on region in the next iteration. Combined the prior calculated based on a beta distribution of region pvalue and the network contribution.

Usage

1
region_chosen_update(pickup, region_chosen, remaining, opt)

Arguments

pickup

A number indicate the region index. region_chosen A vector of TRUE/FALSE. The chosen region status in the last iteration remaining A vector of genes. The candidates gene from last iteration. opt

Value

Logical. TRUE when the region is chosen.

Examples

1
 region_chosen<-unlist(foreach(pickup=1:length(opt$region)) %dopar% region_chosen_update(pickup,region_chosen,remaining,opt))

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