Learn R Programming

EnrichDO (version 0.1-1)

drawHeatmap: drawHeatmap

Description

The top DOID_n nodes in the enrichment results showed the top gene_n genes with the highest weight sum.

Usage

drawHeatmap(
  interestGenes,
  EnrichResult = NULL,
  DOID_n = 10,
  gene_n = 50,
  fontsize_row = 10,
  readable = TRUE,
  ...
)

Value

heat map

Arguments

interestGenes

A collection of interest genes in vector form

EnrichResult

the EnrichResult object

DOID_n

There are DOID_n nodes with the highest significance in the enrichment results.

gene_n

Among the selected DOID_n nodes, the top gene_n genes with the highest weight sum are selected to show.

fontsize_row

Set the font size of the gene tag.

readable

Logical value that controls whether the gene tag is in symbol format

...

Other parameters in the pheatmap function also apply.

Author

Haixiu Yang

Examples

Run this code
demo.data <- c(1636,351,102,2932,3077,348,4137,54209)
sample6 <- doEnrich(interestGenes=demo.data,maxGsize = 100, minGsize=10)
drawHeatmap(interestGenes=demo.data, EnrichResult = sample6, gene_n = 10)

Run the code above in your browser using DataLab