drostlab / myTAI

Evolutionary Transcriptomics with R
https://drostlab.github.io/myTAI/
GNU General Public License v2.0
38 stars 16 forks source link

Retriving parent taxonomy for specific Taxonomy ID #2

Closed abb44 closed 8 years ago

abb44 commented 8 years ago

Do you know if is possible for an specific TAX ID retrieve the corresponding parent?. It is clear how to retrieve for an specific parent all the children but not the way around.

HajkD commented 8 years ago

Hi @abb44 ,

does this help?

taxize::gethierarchyupfromtsn(tsn = taxize::get_tsn(searchterm = "Arabidopsis thaliana",
                                                    searchtype = "scientific"))

Please let me know if it worked so that I can close this issue.

Cheers, Hajk