git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/MineICA@73179 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,69 @@ |
1 |
+\name{doEnrichment} |
|
2 |
+\alias{doEnrichment} |
|
3 |
+\title{Runs enrichment analysis of contributing genes} |
|
4 |
+\usage{ |
|
5 |
+ doEnrichment(compSel, chip, onto, hgCutoff, cond, |
|
6 |
+ universe, path, db, pack.annot.EID, Slist, it, cutoff, |
|
7 |
+ entrez2symbol) |
|
8 |
+} |
|
9 |
+\arguments{ |
|
10 |
+ \item{compSel}{A list containing three elements |
|
11 |
+ \describe{ \item{compSel}{the projection values of |
|
12 |
+ contributing genes that were selected based on their |
|
13 |
+ absolute projection} \item{compSel_neg}{the projection |
|
14 |
+ values of contributing genes that have negative |
|
15 |
+ projections} \item{compSel_pos}{the projection values of |
|
16 |
+ contributing genes that have positive projections}}} |
|
17 |
+ |
|
18 |
+ \item{chip}{The annotation package} |
|
19 |
+ |
|
20 |
+ \item{onto}{A string specifying the GO ontology to use. |
|
21 |
+ Must be one of 'BP', 'CC', or 'MF', see |
|
22 |
+ \code{\link[Category:GOHyperGParams-class]{GOHyperGParams}}. |
|
23 |
+ Only used when argument \code{db} is 'GO'.} |
|
24 |
+ |
|
25 |
+ \item{hgCutoff}{The p-value threshold} |
|
26 |
+ |
|
27 |
+ \item{cond}{A logical indicating whether the calculation |
|
28 |
+ should conditioned on the GO structure, see |
|
29 |
+ \code{\link[Category:GOHyperGParams-class]{GOHyperGParams}}.} |
|
30 |
+ |
|
31 |
+ \item{universe}{The universe for the hypergeometric |
|
32 |
+ tests, see |
|
33 |
+ \code{\link[Category:GOHyperGParams-class]{GOHyperGParams}}.} |
|
34 |
+ |
|
35 |
+ \item{path}{The path where results will be saved} |
|
36 |
+ |
|
37 |
+ \item{db}{The used database to use ('GO' or 'KEGG')} |
|
38 |
+ |
|
39 |
+ \item{pack.annot.EID}{The name of the environment of the |
|
40 |
+ annotation package containing the annotation for Entrez |
|
41 |
+ Gene.} |
|
42 |
+ |
|
43 |
+ \item{Slist}{The list of gene projections across all |
|
44 |
+ components} |
|
45 |
+ |
|
46 |
+ \item{it}{The index of the component} |
|
47 |
+ |
|
48 |
+ \item{cutoff}{The threshold applied on the gene |
|
49 |
+ projections, used to select the contributing genes} |
|
50 |
+ |
|
51 |
+ \item{entrez2symbol}{A vector of all gene Symbols |
|
52 |
+ involved in the analysis indexed by their Entrez Gene |
|
53 |
+ IDs. It is only used when \code{annotation(params)} is |
|
54 |
+ empty, and allows to associate gene sets to Symbols.} |
|
55 |
+} |
|
56 |
+\value{ |
|
57 |
+ Object of class \code{GOHyperGResult-class} |
|
58 |
+} |
|
59 |
+\description{ |
|
60 |
+ doEnrichment This internal function is called by |
|
61 |
+ \code{hypergeoAn} and runs hypergeometric tests through |
|
62 |
+ function \code{hyperGTest} to associate the contributing |
|
63 |
+ genes of a component to gene sets. |
|
64 |
+} |
|
65 |
+\author{ |
|
66 |
+ Anne Biton |
|
67 |
+} |
|
68 |
+\keyword{internal} |
|
69 |
+ |