cleanup_taxons.Rd
Clean up taxons by removing structures no longer present after filtering
cleanup_taxons(flat_ontology, id_column = "id", taxon_column = "taxons")
flat_ontology | A flat ontology data.frame generated by flatten_mba_ontology. |
---|---|
id_column | The id column used to link structures. default is "id". |
taxon_column | The name of the column with taxons generated by generate_taxons(). |
a data.frame with a modified taxons column that lacks any ids that are no longer present in the ontology.