GeneOntologyFilter-class {trena} | R Documentation

## Create a GeneOntologyFilter object

### Description

A GeneOntologyFilter object allows for filtering based on gene ontology (GO) terms. Its associated `getCandidates` method uses an organism database and a GO term (e.g. GO:#######) to filter a list of possible regulators factors to those that match the GO term.

Create a CandidateFilter using Gene Ontology

### Usage

    GeneOntologyFilter(organismDatabase = org.Hs.eg.db::org.Hs.eg.db,
      GOTerm = "GO:0006351", quiet = TRUE)

### Arguments

`organismDatabase` | An organism-specific database of type 'OrgDb'
`GOTerm` | A character matching an accepted gene ontology term. The default term corresponds to "transcription, DNA-templated". (default="GO:0006351")
`quiet` | A logical denoting whether or not the filter should print output

### Value

A GeneOntologyFilter object

### See Also

`CandidateFilter`

### Examples

    # Make a filter for "transcription, DNA-templated"
    library(org.Hs.eg.db)
    goFilter <- GeneOntologyFilter(org.Hs.eg.db, GOTerm="GO:0006351")

[Package trena version 1.2.0 Index]