Skip to contents

Joins the woody / herbaceous classification of Zanne et al. (2014) to a taxify() result by looking up accepted_name. This is the source-named door for the Zanne Global Woodiness Database; for woodiness reconciled across every source that carries it (Zanne, GIFT), use add_trait() with "woodiness".

Usage

add_zanne(x, cols = NULL, verbose = TRUE)

Arguments

x

A data.frame returned by taxify().

cols

Which columns to attach: NULL (default) the curated set, "all" every column the source carries, or a character vector of names. See enrichment_cols.

verbose

Logical. Default TRUE.

Value

The same data.frame with an additional column:

woodiness

One of "woody", "herbaceous", "variable", or NA if not in the dataset.

Details

Source: Zanne et al. 2014, Nature (Dryad, CC0). Coverage: ~50k plant species. Plants only.

References

Zanne AE et al. (2014) Three keys to the radiation of angiosperms into freezing environments. Nature 506:89-92.

See also

add_trait() for woodiness harmonized across sources.

Examples

# Runs offline against the bundled example database.
old <- options(taxify.data_dir = taxify_example_data())

taxify("Quercus robur") |>
  add_zanne()

options(old)