module.overlap: Plot the overlap among predicted DEG modules

Description Usage Arguments Details Value Author(s) References Examples

View source: R/module.overlap.R

Description

Plot the overlap among predicted DEG modules

Usage

1
2
3
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

References

Gu Z, Eils R and Schlesner M (2016). Complex heatmaps reveal patterns and correlations in multidimensional genomic data. Bioinformatics.

Examples

1
2
3
4
## Not run: 
module.overlap(res.module, max.n=15,type="model")

## End(Not run)

menggf/decd documentation built on Jan. 2, 2020, 12:53 a.m.