Learn R Programming

EnrichDO (version 0.1-1)

writeResult: writeResult

Description

Output enrichment result as text

Usage

writeResult(EnrichResult = NULL, file, Q = 1, P = 1)

Value

text

Arguments

EnrichResult

the EnrichResult object

file

the address and name of the output file.

Q

Output only doterm information with p.adjust values less than or equal to Q.

P

Output only doterm information with p values less than or equal to P.

Author

Haixiu Yang

Examples

Run this code
demo.data <- c(1636,351,102,2932,3077,348,4137,54209)
sample4 <- doEnrich(interestGenes=demo.data,maxGsize = 100, minGsize=10)
writeResult(EnrichResult=sample4, file=file.path(tempdir(), 'result.txt'))

Run the code above in your browser using DataLab