sfaira.data.DatasetGroupDirectoryOriented.clean_ontology_class_maps

DatasetGroupDirectoryOriented.clean_ontology_class_maps()

Finalises processed class maps of free text labels to ontology classes.

Checks that the assigned ontology class names appear in the ontology. Adds a third column with the corresponding ontology IDs into the file.

Returns