.contingencyTable | R Documentation |
Calculate a contigency table of module overlap between datasets
.contingencyTable(modAssignments, mods, tiNodelist)
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. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.