HyperGResult-class {Category}R Documentation

Class "HyperGResult"

Description

This class represents the results of a test for overrepresentation of categories among genes in a selected gene set based upon the Hypergeometric distribution. The hyperGTest generic function returns an instance of the HyperGResult class.

Objects from the Class

Objects can be created by calls of the form new("HyperGResult", ...).

Slots

pvalues:
"numeric" vector: the ordered p-values for each category term tested.
geneCounts:
"integer" vector: for each category term tested, the number of genes from the gene set that are annotated at the term.
universeCounts:
"integer" vector: for each category term tested, the number of genes from the gene universe that are annotated at the term.
catToGeneId:
Object of class "list". The names of the list are category IDs. Each element is a vector of gene IDs annotated at the given category ID and in the specified gene universe.
annotation:
A string giving the name of the chip annotation data package used.
geneIds:
Object of class "ANY": the input vector of gene identifiers intersected with the universe of gene identifiers used in the computation. The class of this slot is specified as "ANY" because gene IDs may be integer or character vectors depending on the annotation package.
testName:
A string identifying the testing method used.
pvalueCutoff:
Numeric value used a a p-value cutoff. Used by the show method to count number of significant terms.

Extends

Class "HyperGResultBase", directly.

Methods

geneCounts
signature(r = "HyperGResult"): return an "integer" vector: for each category term tested, the number of genes from the gene set that are annotated at the term.
pvalues
signature(r = "HyperGResult"): return a "numeric" vector: the ordered p-values for each category term tested.
universeCounts
signature(r = "HyperGResult"): return an "integer" vector: for each category term tested, the number of genes from the gene universe that are annotated at the term.
universeMappedCount
signature(r = "HyperGResult"): return an "integer" vector of length one giving the size of the gene universe set.
expectedCounts(r)
return a "numeric" vector giving the expected number of genes in the selected gene list to be found at each tested GO term.
oddsRatios(r)
return a "numeric" vector giving the odds ratio for each GO term tested.

Author(s)

Seth Falcon

See Also

HyperGResultBase-class GeneGoHyperGeoTestResult-class


[Package Category version 2.0.3 Index]