# NOT RUN {
# retrieving the taxonomic hierarchy of "Arabidopsis thaliana"
# from NCBI Taxonomy
taxonomy("Arabidopsis thaliana",db = "ncbi")
# the same can be applied to database : "itis"
taxonomy("Arabidopsis thaliana",db = "itis")
# retrieving the taxonomic hierarchy of "Arabidopsis"
taxonomy("Arabidopsis",db = "ncbi") # analogous : db = "ncbi" or "itis"
# or just "Arabidopsis"
taxonomy("Arabidopsis",db = "ncbi")
# retrieving the taxonomy id of the query organism and in the correspondning database
# taxonomy("Arabidopsis thaliana",db = "ncbi", output = "taxid")
# the same can be applied to databases : "ncbi" and "itis"
taxonomy("Arabidopsis thaliana",db = "ncbi", output = "taxid")
taxonomy("Arabidopsis thaliana",db = "itis", output = "taxid")
# retrieve children taxa of the query organism stored in the correspondning database
taxonomy("Arabidopsis",db = "ncbi", output = "children")
# the same can be applied to databases : "ncbi" and "itis"
taxonomy("Arabidopsis thaliana",db = "ncbi", output = "children")
taxonomy("Arabidopsis thaliana",db = "itis", output = "children")
# }
Run the code above in your browser using DataLab