cellTypeToGO | R Documentation |
utilities for approximate matching of cell type terms to GO categories and annotations
cellTypeToGO(celltypeString, gotab, ...)
cellTypeToGenes(
celltypeString,
gotab,
orgDb,
cols = c("ENSEMBL", "SYMBOL"),
...
)
celltypeString |
character atom to be used to search GO terms using |
gotab |
a data.frame with columns GO (goids) and TERM (term strings)
|
... |
additional arguments to |
orgDb |
instances of orgDb |
cols |
columns to be retrieved in select operation |
data.frame
data.frame
Very primitive, uses agrep to try to find relevant terms.
library(org.Hs.eg.db)
data(allGOterms)
head(cellTypeToGO("serotonergic neuron", allGOterms))
head(cellTypeToGenes("serotonergic neuron", allGOterms, org.Hs.eg.db))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.