overlapTable {WGCNA} | R Documentation |
Calculate overlap of modules
Description
The function calculates overlap counts and Fisher exact test p-values for the given two sets of module assignments.
Usage
overlapTable(
labels1, labels2,
na.rm = TRUE, ignore = NULL,
levels1 = NULL, levels2 = NULL,
log.p = FALSE)
Arguments
labels1 |
a vector containing module labels. |
labels2 |
a vector containing module labels to be compared to |
na.rm |
logical: should entries missing in either |
ignore |
an optional vector giving label levels that are to be ignored. |
levels1 |
optional vector giving levels for |
levels2 |
optional vector giving levels for |
log.p |
logical: should (natural) logarithms of the p-values be returned instead of the p-values? |
Value
A list with the following components:
countTable |
a matrix whose rows correspond to modules (unique labels) in |
pTable |
a matrix whose rows correspond to modules (unique labels) in |
Author(s)
Peter Langfelder