Description Usage Arguments Value Examples
View source: R/region_chosen_update.R
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.
1 | region_chosen_update(pickup, region_chosen, remaining, opt)
|
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 |
Logical. TRUE when the region is chosen.
1 | region_chosen<-unlist(foreach(pickup=1:length(opt$region)) %dopar% region_chosen_update(pickup,region_chosen,remaining,opt))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.