[BioC] which universe in hyperGTest

Seth Falcon sfalcon at fhcrc.org
Thu Jan 11 23:12:57 CET 2007


"James W. MacDonald" <jmacdon at med.umich.edu> writes:
> You can test for under-represented GO terms by setting the testDirection 
> argument of your GOHyperGParams object to "under". So if your 
> GOHyperGParams object were set up like this:
>
> params <- new("GOHyperGParams", geneIds = A, geneUniverseIds = ALL)
>
> then you would test for over representation as normal:
>
> hyperGTest(p)
>
> and under-representation like this:
>
> testDirection(params) <- "under"

make that: testDirection(p) <- "under"

and then:

> hyperGTest(p)


I knew what you meant, but in case someone thinks "params" is a magic
word...

:-)

+ seth



More information about the Bioconductor mailing list