inst/doc/Taxonomy.R

## ---- echo = FALSE, message = FALSE-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
options(width = 750)
knitr::opts_chunk$set(
  comment = "#>",
  error = FALSE,
  tidy = FALSE)

## ---- eval=FALSE------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#  # retrieving the taxonomic hierarchy of "Arabidopsis thaliana"
#  # from NCBI Taxonomy
#  taxonomy( organism = "Arabidopsis thaliana",
#            db       = "ncbi",
#            output   = "classification" )
#  

## ---- eval=FALSE------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#  # retrieving the taxonomic hierarchy of "Arabidopsis thaliana"
#  # from the Integrated Taxonomic Information System
#  taxonomy( organism = "Arabidopsis thaliana",
#            db       = "itis",
#            output   = "classification" )
#  

## ---- eval=FALSE------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#  # retrieving the taxonomy id of the query organism from NCBI Taxonomy
#  taxonomy( organism = "Arabidopsis thaliana",
#            db       = "ncbi",
#            output   = "taxid" )

## ---- eval=FALSE------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#  # retrieving the taxonomy id of the query organism from Integrated Taxonomic Information Service
#  taxonomy( organism = "Arabidopsis",
#            db       = "itis",
#            output   = "taxid" )

## ---- eval=FALSE------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#  # retrieve children taxa of the query organism stored in the correspondning database
#  taxonomy( organism = "Arabidopsis",
#            db       = "ncbi",
#            output   = "children" )

## ---- eval=FALSE------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#  # retrieve children taxa of the query organism stored in the correspondning database
#  taxonomy( organism = "Arabidopsis",
#            db       = "itis",
#            output   = "children" )

Try the myTAI package in your browser

Any scripts or data that you put into this service are public.

myTAI documentation built on July 4, 2017, 9:09 a.m.