Learn R Programming

scOntoMatch (version 0.1.1)

getOntoMapping: match ontology terms by direct mapping and mapping descendants to ancestors

Description

match ontology terms by direct mapping and mapping descendants to ancestors

Usage

getOntoMapping(ont, onts1, onts2)

Value

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

Arguments

ont

the ontology object from get_OBO

onts1

a character vector of ontology id

onts2

a character vector of ontology id

Examples

Run this code
if (FALSE) {
getOntoMapping(ont = ont, onts1 = "CL:0000548", onts2 = c("CL0000548", "CL:0000066"))
}

Run the code above in your browser using DataLab