topONTresult-class: Class "topGOresult"

Description Objects from the Class Slots Methods Author(s) See Also Examples

Description

Class instance created by getSigGroups-methods or by runTest

Objects from the Class

Objects can be created by calls of the form new("topGOresult", description, score, testName, algorithm, geneData).

Slots

description:

character string containing a short description on how the object was build.

score:

named numerical vector containing the p-values or the scores of the tested GO terms.

testName:

character string containing the name of the test statistic used.

algorithm:

character string containing the name of the algorithm used.

geneData:

list containing summary statistics on the genes/gene universe/annotations.

Methods

score:

method to access the score slot.

testName:

method to access the testName slot.

algorithm:

method to access the algorithm slot.

geneData:

method to access the geneData slot.

show:

method to print the object.

combineResults:

method to aggregate two or more topGOresult objects. method = c("gmean", "mean", "median", "min", "max") provides the way the object scores (which most of the time are p-values) are combined.

.

Author(s)

Adrian Alexa

See Also

groupStats-class, getSigGroups-methods

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
data(ONTdata)

s <- score(resultFis)

go <- sort(names(s))
go.sub<- sample(go, 100)
go.mixed <- c(sample(go, 50), sample(ls(Term), 20))
go.others <- sample(ls(Term), 100)


str(go)
str(go.sub)
str(go.mixed)
str(go.others)

str(score(resultFis, whichGO = go))
str(score(resultFis, whichGO = go.sub))
str(score(resultFis, whichGO = go.mixed))
str(score(resultFis, whichGO = go.others))

avgResult <- combineResults(resultFis, resultElimFis)
avgResult
combineResults(resultFis, resultElimFis, method = "min")

hxin/topOnto documentation built on May 17, 2019, 9:15 p.m.