EnquistLab / RTNRS

R package for the (plant) Taxonomic Name Resolution Service
https://bien.nceas.ucsb.edu/bien/tools/tnrs/
Other
8 stars 0 forks source link

Adjust best match algorithm #9

Closed paternogbc closed 2 years ago

paternogbc commented 2 years ago

Hi,

there is any way to allow R users to also adjust the best match algorithm in a similar way that is performed in the online https://tnrs.biendata.org/instructions/? I am not sure which was implemented in R (score or higher taxonomy)?

Many thanks!

Rekyt commented 2 years ago

Hey Gustavo 👋 I'm answering because I think I know the answer. From what I'm getting I think it's possible to reproduce the behavior by returning all matches and ranking them by "Highertaxa_score_order" column instead of "Overall_score". If you select the first ones you should get the same answer.

paternogbc commented 2 years ago

Hey @Rekyt, thanks. Your solution sounds great!