preprocessPriorKnowledgeNetwork: Preprocesses prior knowledge network: correct nodes...

View source: R/check_prior_knowledge_network.R

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

Description

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)

Usage

preprocessPriorKnowledgeNetwork(priorKnowledgeNetwork)

Arguments

priorKnowledgeNetwork

a network with 3 columns: source node ('source'), interaction sign ('interaction') and target node('target').

Value

preprocessed prior knowledge network with corrected nodes identifiers add 3 columns: Node1, Sign, Node2

Author(s)

Enio Gjerga, Olga Ivanova 2020-2021


saezlab/CARNIVAL documentation built on Jan. 17, 2024, 5:10 p.m.