R/getOntos.R

Defines functions getOncotreeOnto getChebiOnto getUBERON_NE getCellosaurusOnto getChebiLite getEFOOnto getCellLineOnto getCellOnto

Documented in getCellLineOnto getCellOnto getCellosaurusOnto getChebiLite getChebiOnto getEFOOnto getOncotreeOnto getUBERON_NE

#' load ontologies that may include non-ascii strings and therefore cannot be in data folder
#' @examples
#' co = getCellOnto()
#' co
#' clo = getCellLineOnto()
#' length(clo$id)
#' che = getChebiLite()
#' length(che$id)
#' efo = getEFOOnto()
#' length(efo$id)
#' @return instance of ontology_index (S3) from ontologyIndex
#' @export
getCellOnto = function() get(load(system.file(
      "ontoRda/cellOnto.rda", package="ontoProc")))
#' @rdname getCellOnto
#' @aliases getCellLineOnto
#' @return instance of ontology_index (S3) from ontologyIndex
#' @export
getCellLineOnto = function() get(load(system.file(
      "ontoRda/cellLineOnto.rda", package="ontoProc")))
#' @rdname getCellOnto
#' @aliases getEFOOnto
#' @return instance of ontology_index (S3) from ontologyIndex
#' @export
getEFOOnto = function() get(load(system.file(
      "ontoRda/efoOnto.rda", package="ontoProc")))
#' @rdname getCellOnto
#' @aliases getChebiLite
#' @return instance of ontology_index (S3) from ontologyIndex
#' @export
getChebiLite = function() get(load(system.file(
      "ontoRda/chebi_lite.rda", package="ontoProc")))
#' @rdname getCellOnto
#' @aliases getCellosaurusOnto
#' @return instance of ontology_index (S3) from ontologyIndex
#' @export
getCellosaurusOnto = function() get(load(system.file(
      "ontoRda/cellosaurusOnto.rda", package="ontoProc")))
#' @rdname getCellOnto
#' @aliases getUBERON_NE
#' @return instance of ontology_index (S3) from ontologyIndex
#' @export
getUBERON_NE = function() get(load(system.file(
      "ontoRda/ne_uberon.rda", package="ontoProc")))
#' @rdname getCellOnto
#' @aliases getChebiOnto
#' @return instance of ontology_index (S3) from ontologyIndex
#' @export
getChebiOnto = function() get(load(system.file(
      "ontoRda/chebi_full.rda", package="ontoProc")))
#' @rdname getCellOnto
#' @aliases getOncotreeOnto
#' @return instance of ontology_index (S3) from ontologyIndex
#' @export
getOncotreeOnto = function() get(load(system.file(
      "ontoRda/oncotree.rda", package="ontoProc")))

Try the ontoProc package in your browser

Any scripts or data that you put into this service are public.

ontoProc documentation built on May 12, 2018, 6 p.m.