PopulateTheThreeByThreeContingencyTable {CausalR} | R Documentation |
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.
PopulateTheThreeByThreeContingencyTable(n_pp, n_pm, n_mp, n_mm, predictionDataStats, experimentalDataStats)
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 |
Vector of calculated values for n0+, n0-, n+0, n-0 and n00 - See: Chindelevitch et al.Bioinformatics (2012).