dot-contingencyTable: Calculate a contigency table of module overlap between...

.contingencyTableR Documentation

Calculate a contigency table of module overlap between datasets

Description

Calculate a contigency table of module overlap between datasets

Usage

.contingencyTable(modAssignments, mods, tiNodelist)

Arguments

modAssignments

a list where the first element is the 'moduleAssignments' vector in the discovery dataset, and the second element is the 'moduleAssignments vector in the test dataset.

mods

the 'modules' vector for the discovery dataset.

tiNodelist

a vector of node IDs in the test dataset.

Value

A list containing a contigency table, a vector of the proportion of nodes present in the test dataset for each module, a vector containing the number of nodes present in the test dataset for each module, a vector of the node names present in both the discovery and test datasets, a vector of modules that are both requested and have nodes present in the test dataset, and the modAssignments vector containing only nodes present in the test dataset.


Kumquatum/GWENA documentation built on July 7, 2023, 3:41 p.m.