\title{Runs enrichment analysis of contributing genes}
  doEnrichment(compSel, chip, onto, hgCutoff, cond,
    universe, path, db, pack.annot.EID, Slist, it, cutoff,
  \item{compSel}{A list containing three elements
  \describe{ \item{compSel}{the projection values of
  contributing genes that were selected based on their
  absolute projection} \item{compSel_neg}{the projection
  values of contributing genes that have negative
  projections} \item{compSel_pos}{the projection values of
  contributing genes that have positive projections}}}

  \item{chip}{The annotation package}

  \item{onto}{A string specifying the GO ontology to use.
  Must be one of 'BP', 'CC', or 'MF', see
  Only used when argument \code{db} is 'GO'.}

  \item{hgCutoff}{The p-value threshold}

  \item{cond}{A logical indicating whether the calculation
  should conditioned on the GO structure, see

  \item{universe}{The universe for the hypergeometric
  tests, see

  \item{path}{The path where results will be saved}

  \item{db}{The used database to use ('GO' or 'KEGG')}

  \item{pack.annot.EID}{The name of the environment of the
  annotation package containing the annotation for Entrez

  \item{Slist}{The list of gene projections across all

  \item{it}{The index of the component}

  \item{cutoff}{The threshold applied on the gene
  projections, used to select the contributing genes}

  \item{entrez2symbol}{A vector of all gene Symbols
  involved in the analysis indexed by their Entrez Gene
  IDs. It is only used when \code{annotation(params)} is
  empty, and allows to associate gene sets to Symbols.}
  Object of class \code{GOHyperGResult-class}
  doEnrichment This internal function is called by
  \code{hypergeoAn} and runs hypergeometric tests through
  function \code{hyperGTest} to associate the contributing
  genes of a component to gene sets.
  Anne Biton