module.compare: Compare and plot the overlap among predicted modules

Description Usage Arguments Details Value Author(s) Examples

View source: R/module.compare.R

Description

Plot the overlap among predicted DEG modules

Usage

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

Arguments

res.module1

a 'seed.module' or 'cluster.module' object returned by seed.module or cluster.module

res.module2

a 'seed.module' or 'cluster.module' object returned by seed.module or cluster.module

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

Details

This function is to compare the modules from different studies, e.g. the different diseases or the different data for the same disease.

Value

The heatmap plot for gene overlaps.

Author(s)

Guofeng Meng

Examples

1
module.compare(res.mod1,res.mod2, type='model', max.n1=5)

DEComplexDisease documentation built on Nov. 8, 2020, 6:42 p.m.