module.overlap {DEComplexDisease} | R Documentation

## Plot the overlap among predicted DEG modules

### Description

Plot the overlap among predicted DEG modules

### Usage

    module.overlap(res.module, show.mods = NULL, type = c("model",
      "max.patients", "max.genes")[1], max.n = 30, show.overlap = TRUE,
      cex = 10)

### Arguments

`res.module` | a 'seed.module' or 'cluster.module' object returned by `seed.module` or `cluster.module`
`show.mods` | the modules to display
`type` | the module type to display
`max.n` | the maximum number of modules to plot. If 'show.mods' is set, this option will be ignored.
`show.overlap` | boolen, display the overlap number
`cex` | the font cex to display the overlap number, default 10.

### Details

The DEG modules may have partial overlaps for either genes or patients. This function plots the overlaps for genes and patients from DEG modules in two heatmaps. It can be used to find DEG patterns.

### Value

The heatmap plot for gene and patient overlaps.

### Author(s)

Guofeng Meng

### Examples

    data(seed.mod)
    module.overlap(seed.mod, max.n=5,type='model')

[Package DEComplexDisease version 1.10.0 Index]