Open Tree of life services sometimes returns tip labels with the tag "mrcaottID1ottID2" instead of the original scientific name.
Function datelife::recover_mrcaott() recovers the original name by getting all parent names from both ott IDs and then detecting the first parent that matches both.
That should be the original input name, so we just replace the "mrcaott" tip label with with this name.
Open Tree of life services sometimes returns tip labels with the tag "mrcaottID1ottID2" instead of the original scientific name. Function
datelife::recover_mrcaott()
recovers the original name by getting all parent names from both ott IDs and then detecting the first parent that matches both. That should be the original input name, so we just replace the "mrcaott" tip label with with this name.