Plot.deg: Plot the DEGs before or after cross-validation

View source: R/Plot.deg.R

Plot.degR Documentation

Plot the DEGs before or after cross-validation

Description

Plot the binary differential expression matrix transformed by bi.deg

Usage

## S3 method for class 'deg'
Plot(input, ann = NULL, col.order = NULL, show.genes = NULL,
  max.n = 30, up.col = "red", down.col = "blue", ...)

Plot(...)

Arguments

input

a 'deg' object returned by bi.deg

ann

a data.frame for the patient annotation

col.order

the order of column in heatmap

show.genes

the gene ids to plot

max.n

the maximum number of genes to plot

up.col

the color for up-regulated genes

down.col

the color for down-regulated genes

...

other setting of 'oncoPrint'

Details

This function applied the function of oncoPrint from 'ComplexHeatmap' to dispaly ownership of the DEGs. The output is a heatmap plots where the genes with maximum observations are showed.

Value

A heatmap plot

Author(s)

Guofeng Meng

Examples

Plot(deg,ann.er, max.n=5)
Plot(deg.spc, ann.er, max.n=5)


menggf/DEComplexDisease documentation built on June 30, 2022, 1:47 p.m.