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

Description Usage Arguments Value

Description

Calculate a contigency table of module overlap between datasets

Usage

1
.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.


GWENA documentation built on Feb. 17, 2021, 2:01 a.m.