datelife_query_check: checks if input is a datelifeQuery object, otherwise it uses...

Description Usage Arguments

View source: R/datelife.R

Description

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

Usage

1
datelife_query_check(datelife_query = NULL, ...)

Arguments

datelife_query

An object output of make_datelife_query function

...

Arguments passed on to make_datelife_query

input

Target taxa names as a character vector, a newick character string, or a phylo object.

use_tnrs

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

approximate_match

If TRUE, use a slower TNRS to correct mispellings, 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.


phylotastic/datelife documentation built on Jan. 14, 2019, 9:56 p.m.