runHyperKEGG: Run KEGG pathway analysis based on hypergeometric test from a...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/anafunc.R

Description

Run KEGG pathway analysis based on hypergeometric test from a probeset list

Usage

1
2
runHyperKEGG(list, pack.annot, categorySize = 1, name = "hyperKEGG",
htmlreport = TRUE, txtreport = TRUE, tabResult = FALSE, pvalue = 0.05)

Arguments

list

vector of character with probeset names

pack.annot

character string, annotation package to use

categorySize

integer, minimum size for category, by default = 1

name

character, name for output files, by default "hyperKEGG"

htmlreport

logical, if TRUE, a html report is created, by default TRUE

txtreport

logical, if TRUE, a txt report is created, by default TRUE

tabResult

logical, if TRUE, a list with the results is created, by default FALSE

pvalue

numeric, a cutoff for the hypergeometric test pvalue, by default 0.05

Details

runHyperKEGG needs packages GOstats and KEGG.db from Bioconductor.

Value

Txt and html report

Data.frame with KEGG Id, pvalue, Odd Ratio, Expected count, Size and KEGG Term

Author(s)

Nicolas Servant, Eleonore Gravier, Pierre Gestraud, Cecile Laurent, Caroline Paccard, Anne Biton, Jonas Mandel, Bernard Asselain, Emmanuel Barillot, Philippe Hupe

See Also

hyperGTest,runHyperGO

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
require(hgu133plus2.db)
data(marty)

## Probe list
probeList <- rownames(marty)[1:50]

## Hypergeometric test for KEGG pathway
res <- runHyperKEGG(probeList, htmlreport = FALSE, txtreport = FALSE,
    tabResult = TRUE, pack.annot = "hgu133plus2.db")

## End(Not run)

EMA documentation built on March 26, 2020, 8:40 p.m.