Returns the ArangoDocument corresponding to the genus to which the given taxon x points at (directly or indirectly). Thus x is expected to be an infrageneric taxon.
Arguments
- x
An
ArangoDocumentcorresponding to a taxon in a flora list.- florula.collection
An
ArangoCollectioncontaining a flora list.
Value
An ArangoDocument corresponding to the genus to which the given taxon x points at. If x is a genus, the function returns x.
Details
The given ArangoDocument is expected to come from a flora list where all documents must have one (and only one) of these attributes: "genus", "epithet", "subspecies", "variety", "form".
Author
Tiago Monteiro-Henriques. E-mail: tmh.dev@icloud.com.