Joins the woody / herbaceous classification of Zanne et al. (2014) to a
taxify() result by looking up accepted_name. This function is named
after its source, the Zanne Global Woodiness Database; for woodiness reconciled across
every source that carries it (Zanne, GIFT), use add_trait() with
"zanne_woodiness".
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. Seeenrichment_cols.- verbose
Logical. Default
TRUE.
Value
The same data.frame with an additional column:
- zanne_woodiness
One of
"woody","herbaceous","variable", orNAif not in the dataset.
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()
#> Matching 1 names against 8 backbones: col -> wcvp -> lcvp -> wfo -> fishbase -> sealifebase -> reptiledb -> gbif
#> [col] Matching 1 names...
#> [wcvp] Skipped (all names matched)
#> [lcvp] Skipped (all names matched)
#> [wfo] Skipped (all names matched)
#> [fishbase] Skipped (all names matched)
#> [sealifebase] Skipped (all names matched)
#> [reptiledb] Skipped (all names matched)
#> [gbif] Skipped (all names matched)
#> input_name matched_name accepted_name taxon_id accepted_id rank
#> 1 Quercus robur Quercus robur Quercus robur col-ex-001 col-ex-001 species
#> family genus epithet authorship accepted_authorship is_synonym
#> 1 Fagaceae Quercus robur L. L. FALSE
#> taxonomic_status is_hybrid match_type fuzzy_dist backbone
#> 1 ACCEPTED FALSE exact NA col
#> backbone_version kingdom_group taxon_group life_form qualifier
#> 1 col:example (2026-06-24) plantae angiosperm angiosperm <NA>
#> qualifier_position aggregate_fallback hybrid_type zanne_woodiness
#> 1 <NA> NA <NA> woody
#> Sources: COL example, Zanne et al. 2014 example | cite() for full citations
options(old)