empB_heatmap: Heatmap of empB - B

View source: R/Evaluation_func.R

empB_heatmapR Documentation

Heatmap of empB - B

Description

empB_heatmap plot a heatmap with empB - B values (depicts the difference between prior knowledge and the empirical knowledge)

Usage

empB_heatmap(mcmc_res, OMICS_mod_res, gene_annot, TFtargs)

Arguments

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).

Value

Figure heatmap

Examples

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)
            

anna-pacinkova/intomics_package documentation built on Aug. 13, 2022, 11:38 a.m.