cellTypeToGO: utilities for approximate matching of cell type terms to GO...

Description Usage Arguments Value Note Examples

View source: R/termProc.R

Description

utilities for approximate matching of cell type terms to GO categories and annotations

Usage

1
2
3
4
5
6
7
8
9
cellTypeToGO(celltypeString, gotab, ...)

cellTypeToGenes(
  celltypeString,
  gotab,
  orgDb,
  cols = c("ENSEMBL", "SYMBOL"),
  ...
)

Arguments

celltypeString

character atom to be used to search GO terms using

gotab

a data.frame with columns GO (goids) and TERM (term strings) agrep

...

additional arguments to agrep

orgDb

instances of orgDb

cols

columns to be retrieved in select operation

Value

data.frame

data.frame

Note

Very primitive, uses agrep to try to find relevant terms.

Examples

1
2
3
library(org.Hs.eg.db)
head(cellTypeToGO("serotonergic neuron", ontoProc::allGOterms))
head(cellTypeToGenes("serotonergic neuron", ontoProc::allGOterms, org.Hs.eg.db))

ontoProc documentation built on Nov. 8, 2020, 4:49 p.m.