Function taxa2samples() is currently altering the content of samples contained in a vegtable object, which is critical when information regarding to used synonyms needs to be retrieved. Since the alternative function merge_taxa() is even worse, it is necessary to make this function more conservative.
The solution is instead of replacing the values of TaxonUsagetID by the accepted names at samples, this function should create the new variable TaxonConceptID and rely on this in functions calling taxa2samples().
Function
taxa2samples()
is currently altering the content of samples contained in avegtable
object, which is critical when information regarding to used synonyms needs to be retrieved. Since the alternative functionmerge_taxa()
is even worse, it is necessary to make this function more conservative.The solution is instead of replacing the values of TaxonUsagetID by the accepted names at samples, this function should create the new variable TaxonConceptID and rely on this in functions calling
taxa2samples()
.