Learn R Programming

NetRep (version 1.0.2)

contingencyTable: 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,