module.compare {DEComplexDisease} | R Documentation |
Plot the overlap among predicted DEG modules
module.compare(res.module1, res.module2, used.mods1 = NULL, used.mods2 = NULL, type = c("model", "max.patients", "max.genes")[1], max.n1 = 30, max.n2 = max.n1, show.overlap = TRUE, cex = 10)
res.module1 |
a 'seed.module' or 'cluster.module' object returned by |
res.module2 |
a 'seed.module' or 'cluster.module' object returned by |
used.mods1 |
the modules to display |
used.mods2 |
the modules to display |
type |
the module type to display |
max.n1 |
the maximum number of modules to display. If 'used.mods1' is set, this option will be ignored. |
max.n2 |
the maximum number of modules to display. If 'used.mods2' is set, this option will be ignored. |
show.overlap |
boolean, display the overlap number |
cex |
the font cex to display the overlap number |
This function is to compare the modules from different studies, e.g. the different diseases or the different data for the same disease.
The heatmap plot for gene overlaps.
Guofeng Meng
module.compare(res.mod1,res.mod2, type='model', max.n1=5)