I have gene expression data from several animals, which I'd like to compare. These data have UBERON identifiers for the tissues in which they're expressed, however, many tissues belong to different (yet, potentially) comparable anatomical entities (e.g. "kidney" and "adult mammalian kidney"). I know that UBERON, just like GO, has a hierarchical structure, so I thought that perhaps I could compare tissues belonging to the same group within UBERON hierarchy. A way to access such data is through OLS, yet I haven't found an easy way to retrieve the UBERON relationships among anatomical entities. I also investigated R package "rols", but I read that it might not be suitable for such task.
So my question is: Is it a easy-ish way to extract the hierarchical relationships between UBERON terms (from a list of UBERON ids, for example)?
Thanks a lot!