Description Usage Arguments Format Details Value Controlled vocabulary Author(s) Source See Also Examples
The GOHits class extends the Hits class to represent hits that also describe relations between genes and sets using the Gene Ontology controlled vocabulary.
1 2 3 4 5 6 7 8 | GOEvidenceCodes
GOOntologyCodes
GOHits(from = integer(0), to = integer(0),
evidence = factor(character(0), names(GOEvidenceCodes)),
ontology = factor(character(0), names(GOOntologyCodes)), nLnode = 0L,
nRnode = 0L, ...)
|
from, to |
Two integer vectors of the same length.
The values in |
evidence |
factor. Levels must be values in |
ontology |
factor. Levels must be values in |
nLnode, nRnode |
Number of left and right nodes. |
... |
Arguments metadata columns to set on the |
A named vector of length 26.
Code.
Description.
...
This class does not define any additional slot to the Hits class.
However, this class defines additional validity checks to ensure that every relation stored in a GOHits are respect the Gene Ontology evidence and ontology codes.
Refer to GOOntologyCodes and GOEvidenceCodes for valid code and vocabulary.
A GOHits object.
Gene Ontology evidence codes were obtained from http://geneontology.org/docs/guide-go-evidence-codes/
Gene Ontology namespaces were obtained from http://geneontology.org/docs/ontology-documentation/
Kevin Rue-Albrecht
Evidence codes: http://geneontology.org/docs/guide-go-evidence-codes/
Namespaces: http://geneontology.org/docs/guide-go-evidence-codes/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Controlled vocabulary ----
GOEvidenceCodes
GOOntologyCodes
# Constructor ----
from <- c(5, 2, 3, 3, 3, 2)
to <- c(11, 15, 5, 4, 5, 11)
ontology <- factor(c("BP", "BP", "BP", "MF", "MF", "CC"))
evidence <- factor(c("IEA", "IDA", "IEA", "IDA", "IEA", "IDA"))
gh <- GOHits(from, to, evidence, ontology, 7, 15)
gh
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.