This internal function provides a refining of the output of function taxon_id_worms. It prints a list of possible matches and possibly enables the user to interactively make his choice.
Arguments
- input
a
tibble
. The output of taxon_ID_Worms.- taxaColumn
a
numeric
. The cardinal number of the column where species list is. Default is1
.- interaction
a
boolean
. WhenTRUE
the user can interact with the choice of one of the proposed matching. Default isFALSE
.- choiceNumber
a
numeric
. The number of selected choice. Default isNULL
. WhenNULL
no choice is performed.
Value
In interactive mode or when the choiceNumber
is NULL
the
output of the function is a tibble
with the refinement of the
input, else the function simply returns the unchanged input.
References
Wickham H, François R, Henry L, Müller K (2022). dplyr: A Grammar of Data Manipulation. R package version 1.0.9, https://CRAN.R-project.org/package=dplyr.
Author
Alessandro Oggioni, phD (2021) oggioni.a@irea.cnr.it
Paolo Tagliolato, PhD (2021) tagliolato.p@irea.cnr.it