View source: R/OMICS_module_func.R
| energy_function_node_specific | R Documentation |
energy_function_node_specific For each node returns its energy over all
parent set configurations, the empty parent set is included.
energy_function_node_specific(all_parents_config, B_prior_mat, int_node)
all_parents_config |
matrix with all possible parent set configurations (column indicates parents of given int_node). |
B_prior_mat |
a biological prior matrix. |
int_node |
character vector with given node name. |
Numeric vector of length 1
data(list=c("PK", "TFtarg_mat", "annot", "layers_def", "omics"),
package="IntOMICS")
B <- B_prior_mat(omics = omics, PK = PK, layers_def = layers_def,
annot = annot, lm_METH = TRUE, r_squared_thres = 0.3, p_val_thres = 0.05,
TFtargs = TFtarg_mat, TFBS_belief = 0.75, nonGE_belief = 0.5,
woPKGE_belief = 0.5)
all_parents_config <- matrix(c("ENTREZID:2535", "ENTREZID:2535",
"ENTREZID:1857", "ENTREZID:2932"), byrow = TRUE, nrow=2)
energy_function_node_specific(all_parents_config = all_parents_config,
B_prior_mat = B$B_prior_mat, int_node = "ENTREZID:7482")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.