View source: R/Evaluation_func.R
empB_heatmap | R Documentation |
empB_heatmap
plot a heatmap with empB - B values (depicts the difference
between prior knowledge and the empirical knowledge)
empB_heatmap(mcmc_res, OMICS_mod_res, gene_annot, TFtargs)
mcmc_res |
list output from the BN_module function. |
OMICS_mod_res |
list output from the OMICS_module function. |
gene_annot |
data.frame containing the entrez ID and corresponding gene symbol for conversion. |
TFtargs |
matrix containing the direct interactions between TFs (columns) and their targets (rows). |
Figure heatmap
data(list=c("PK", "TFtarg_mat", "annot", "gene_annot", "layers_def", "omics"), package="IntOMICS") OMICS_mod_res <- OMICS_module(omics = omics, PK = PK, annot = annot, layers_def = layers_def, TFtargs = TFtarg_mat, r_squared_thres = 0.3, lm_METH = TRUE) BN_mod_res <- BN_module(burn_in = 100000, thin = 500, len = 5, OMICS_mod_res = OMICS_mod_res, minseglen = 50000, prob_mbr = 0.07) empB_heatmap(mcmc_res = BN_mod_res, OMICS_mod_res = OMICS_mod_res, gene_annot = gene_annot, TFtargs = TFtarg_mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.