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

Description Usage Arguments Details Value Author(s) Examples

View source: R/Plot.deg.R

Description

Plot the cross-validated DEGs predicted by deg.specific.

Usage

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

Arguments

input

a 'deg.specific' object returned by deg.specific

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

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

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