[R] gbresolve function from the geiger package

Nomi Hadar hadar.nomi at gmail.com
Mon Jun 20 13:11:47 CEST 2016


Hello,

I have troubles with the gbresolve function from the *geiger *package,
which works with the NCBI taxonomy.
When I use it, there are genera that are not found although they *do appear
*in the NCBI taxonomy browser.
<http://www.ncbi.nlm.nih.gov/Taxonomy/taxonomyhome.html/>

for example, when I run:

library("ape")
library("geiger")

genus = "Christia"
gbresolve(genus, rank= "genus", within = "Fabaceae")

("Christia" is a genus within a plants group called Fabaceae)

I get:

Error in tmp[[idx]] : subscript out of bounds
In addition: Warning messages:
1: In FUN(X[[i]], ...) : Attempt one of the following:
Bacterium purifaciens Christiansen 1917
...
...
2: In gbresolve.default(genus, rank = "genus", within = "Fabaceae") :
  The following taxa were not encountered in the NCBI taxonomy:
Christia


And so for other genera such as "Pycnospora" / "Solori" / "Thailentadopsis"
and more.
You can see that "Christia" appears in browser
<http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi>, and so I expect
to get "Christia vespertilionis" as result.

Why is that?

Thank you very much!
Nomi


-- 
*Nomi Hadar*

	[[alternative HTML version deleted]]



More information about the R-help mailing list