Learn R Programming

tmod (version 0.44)

modCorPlot: Plot a correlation heatmap for modules

Description

Plot a correlation heatmap for modules

Usage

modCorPlot(
  modules,
  mset = NULL,
  labels = NULL,
  stat = "jaccard",
  upper.cutoff = 0.1,
  ...
)

Arguments

modules

either a character vector with module IDs from mset, or a list which contains the module members

mset

Which module set to use. Either a character vector ("LI", "DC" or "all", default: LI) or an object of class tmod (see "Custom module definitions" below)

labels

Labels for the modules (if NULL, labels will be retrieved from `mset`)

stat

Type of statistics to return. "number": number of common genes (default); "jaccard": Jaccard index; "soerensen": Soerensen-Dice coefficient; "overlap": Szymkiewicz-Simpson coefficient.

upper.cutoff

Specify upper cutoff for the color palette

...

Any further parameters are passed to heatmap.2