Learn R Programming

EnrichDO (version 0.1-1)

drawGraphViz: drawGraphViz

Description

the enrichment results are shown in a tree diagram

Usage

drawGraphViz(
  EnrichResult = NULL,
  enrich = NULL,
  n = 10,
  labelfontsize = 14,
  numview = TRUE,
  pview = TRUE
)

Value

tree diagram

Arguments

EnrichResult

the EnrichResult object

enrich

a data frame of the enrichment result

n

the number of most significant nodes

labelfontsize

the font size of nodes

numview

Displays the number of intersections between the interest set and each doterm.

pview

Displays the P value for each dotrem.

Author

Haixiu Yang

Examples

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

#The p-value and the number of intersections are not visible
drawGraphViz(EnrichResult=sample5, numview = FALSE, pview = FALSE)

Run the code above in your browser using DataLab