View source: R/Evaluation_func.R
legend_custom | R Documentation |
legend_custom
Determines the color scale for each modality.
legend_custom(net)
net |
list output from the trace_plots function. |
Figure with color key
data(list=c("PK", "TFtarg_mat", "annot", "gene_annot", "layers_def", "omics"), package="IntOMICS") OMICS_mod_res <- OMICS_module(omics = omics, PK = PK, layers_def = layers_def, TFtargs = TFtarg_mat, annot = annot, 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) res_weighted <- trace_plots(mcmc_res = BN_mod_res, figures_dir = "figures", burn_in = 100000, thin = 500, gene_annot = gene_annot, PK = PK, OMICS_mod_res = OMICS_mod_res, gene_ID = "gene_symbol", edge_freq_thres = 0.3, TFtargs = TFtarg_mat) legend_custom(res_weighted)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.