jinyizju/S.PhyloMaker

Taxnomic classification not consistent between species list and PhytoPhylo.

Closed this issue · 0 comments

Thank you very much for writing this code!
The code comes up with the following error (which stopped the code after 4 species):

Warning message:
In S.PhyloMaker(spList = splis, tree = phylo, nodes = nodes) :
Taxnomic classification not consistent between species list and PhytoPhylo.

I made sure that my species list contained only the species that are in PhytoPhylo.

I thought it might be a discrepancy between the species name that is the same, but not the family or genus name. Unfortunately, I cannot manage to see the family/genus information in the PhytoPhylo, but the error occurred with the species 'Anthriscus_sylvestris', from which I can see that the family and genus in my data frame are correct.

Any ideas what I can do to fix this issue?

UPDATE/SOLVED
Working on it myself, diving into the Rcode. I didn't realize it gave the errors before the warning message.
genus family_in_PhytoPhylo family_in_spList
1 Hypericum Clusiaceae Hypericaceae
2 Succisa Caprifoliaceae Dipsacaceae

It is indeed just a discrepancy between the two data files. Problem solved.