checks if input is a datelifeQuery object, otherwise it uses make_datelife_query to process it

datelife_query_check(datelife_query = NULL, ...)

Arguments

datelife_query

A datelifeQuery object, output of make_datelife_query function

...

Arguments passed on to make_datelife_query

use_tnrs

Boolean; default to FALSE. If TRUE, use OpenTree's services to resolve names. This can dramatically improve the chance of matches, but also take much longer.

approximate_match

Boolean; default to TRUE: use a slower TNRS to correct misspellings, increasing the chance of matches (including false matches)

get_spp_from_taxon

boolean vector, default to FALSE. If TRUE, will get all species names from taxon names given in input. Must have same length as input. If input is a newick string , with some clades it will be converted to phylo object phy, and the order of get_spp_from_taxon will match phy$tip.label.

verbose

Boolean. If TRUE, it gives printed updates to the user.

Value

A datelifeQuery object