GetExplainedNodesOfCCG: Get explained nodes of CCG

Description Usage Arguments Value

View source: R/GetExplainedNodesOfCCG.r

Description

Returns a table of node names and values for explained nodes, I.e. nodes that appear in both network and data with the same sign. The table contain the name in column 1 and the value (1 or -1) in column 2

Usage

1
2
GetExplainedNodesOfCCG(hypothesisnode, signOfHypothesis, network,
  experimentalData, delta)

Arguments

hypothesisnode

a hypothesis node

signOfHypothesis

the direction of change of hypothesis node

network

a computational causal graph

experimentalData

The experimental data read in using ReadExperimentalData. The results is an n x 2 matrix; where the first column contains the node ids of the nodes in the network that the results refer to. The second column contains values indicating the direction of regulation in the results - (+)1 for up, -1 for down and 0 for insignificant amounts of regulation. The name of the first column is the filename the data was read from.

delta

the number of edges across which the hypothesis should be followed

Value

vector of explained nodes


CausalR documentation built on Nov. 8, 2020, 5:25 p.m.