View source: R/check_prior_knowledge_network.R
preprocessPriorKnowledgeNetwork | R Documentation |
Preprocesses prior knowledge network: correct nodes identifiers for symbols that might break solvers runs, assigns the types for each column: Node1 (character), Sign (numeric), Node2 (character). Stops if interaction/sign column has non-numeric value Detect and remove self-activation (would break loop constraints with CbC)
preprocessPriorKnowledgeNetwork(priorKnowledgeNetwork)
priorKnowledgeNetwork |
a network with 3 columns: source node ('source'), interaction sign ('interaction') and target node('target'). |
preprocessed prior knowledge network with corrected nodes identifiers add 3 columns: Node1, Sign, Node2
Enio Gjerga, Olga Ivanova 2020-2021
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.