Plot.deg.specific.test {DEComplexDisease} | R Documentation

## Plot the DEGs before or after cross-validation

### Description

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

### Usage

    ## 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

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

[Package DEComplexDisease version 1.10.0 Index]