Learn R Programming

EnrichDO (version 0.1-1)

drawBarGraph: drawBarGraph

Description

The enrichment results are shown in a bar chart

Usage

drawBarGraph(EnrichResult = NULL, enrich = NULL, n = 10, delta = 1e-15)

Value

bar graph

Arguments

EnrichResult

the EnrichResult object

enrich

a data frame of enrichment result

n

number of bars

delta

the threshold of P value

Author

Haixiu Yang

Examples

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

Run the code above in your browser using DataLab