PopulateTheThreeByThreeContingencyTable: populate the three-by-three contingency table
Description
Populates 3x3 signed contingency table of expected versus observed changes.
Given the values of n++, n+-, n-+ and n--, calculates n0+, n0-, n+0, n-0 and n00.
Notation from Chindelevitch et al. Causal reasoning on biological networks
Bioinformatics (2012) paper.
Usage
PopulateTheThreeByThreeContingencyTable(n_pp, n_pm, n_mp, n_mm, predictionDataStats, experimentalDataStats)
Arguments
n_pp
n++ contingency table entry
n_pm
n+- contingency table entry
n_mp
n-+ contingency table entry
n_mm
n-- contingency table entry
predictionDataStats
a prediction data table.
experimentalDataStats
an experimental data table
Value
Vector of calculated values for n0+, n0-, n+0, n-0 and n00 - See: Chindelevitch et al.Bioinformatics (2012).