getOntoMinimal: match descendant terms to ancestor terms within a dataset

View source: R/functions.R

getOntoMinimalR Documentation

match descendant terms to ancestor terms within a dataset

Description

match descendant terms to ancestor terms within a dataset

Usage

getOntoMinimal(ont, onts)

Arguments

ont

the ontology object from get_OBO

onts

a character vector of ontology id

Value

a named list for ontology id mapping looks like ontology_id:ontology_id

Examples

## Not run: 
getOntoMinimal(ont = ont, onts = c("CL0000548", "CL:0000066", "CL:0000082"))

## End(Not run)

scOntoMatch documentation built on Nov. 2, 2023, 5:20 p.m.