sfaira.versions.metadata.OntologyList.map_node_suggestion¶
- OntologyList.map_node_suggestion(x: str, include_synonyms: bool = True, n_suggest: int = 10)¶
Map free text node name to ontology node names via fuzzy string matching.
- Parameters
x – Free text node label which is to be matched to ontology nodes.
include_synonyms – Whether to search for meaches in synonyms field of node instances, too.
n_suggest – number of suggestions returned
:return List of proposed matches in ontology.