Plot.cluster.module: Plot the DEGs modules

Description Usage Arguments Details Value Author(s) Examples

View source: R/Plot.module.R

Description

Plot the DEGs modules

Usage

1
2
3
4
5
6
## S3 method for class 'cluster.module'
Plot(res.module, ann = NULL, deg = NULL,
  col.order = NULL, show.mods = NULL, overlap = NULL,
  dissimilarity = NULL, max.n = min(length(res.module), 30),
  type = c("model", "max.patients", "max.genes")[1], label.col = "blue",
  ...)

Arguments

res.module

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

ann

a data.frame for the patient annotation

deg

a 'deg' to display. It is returned by bi.deg

col.order

the order of column in heatmap

show.mods

a vector, the modules to display

overlap

the similarity cutoff to display as carrying the module

dissimilarity

the similarity cutoff to display as not carrying the module

max.n

the maximum number of modules to display

type

the module type to display

label.col

the color to label

...

other setting of 'oncoPrint'

Details

This function is to dispaly the relationship of the predicted DEG modules and the patients.

'deg' can be set to display the modules from different datasets, e.g. the modules predicted from disease A and display them in the binary DEG matrix of disease B.

The output is a heatmap Plot where the modules with maximum observations are showed.

Value

A heatmap plot

Author(s)

Guofeng Meng

Examples

1
2

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