Created
September 18, 2012 06:11
-
-
Save boboppie/3741524 to your computer and use it in GitHub Desktop.
Quick test of using genomes package in Bioconductor for taxonomy search
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# genomes - Genome sequencing project metadata | |
# URL : http://www.bioconductor.org/packages/release/bioc/html/genomes.html | |
library(genomes) | |
ncbiTaxonomy("human", summary=TRUE) | |
################################# | |
# [1] "1 result found" | |
# taxid name rank division nucl prot struct genome gene | |
# 1 9606 Homo sapiens species primates 9936177 677498 20041 51 43470 | |
################################# | |
ncbiTaxonomy(c("Bacillus anthracis", "Yersinia pestis")) | |
################################# | |
# [1] "2 results found" | |
# taxid name rank division nucl prot struct genome gene | |
# 1 1392 Bacillus anthracis species firmicutes 3694 184450 290 29 29604 | |
# 2 632 Yersinia pestis species enterobacteria 41568 507490 127 55 47410 | |
################################# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment