Skip to contents

Joins genus-level dispersal-related traits for European aquatic macroinvertebrates to a taxify() result by genus. Each fuzzy-coded trait is reduced to its dominant modality (with the database's own labels).

Usage

add_disperse(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 categorical disperse_body_size_cm, disperse_life_cycle, disperse_repro_cycles, disperse_dispersal, disperse_adult_lifespan, disperse_female_wing_mm, disperse_wing_type, disperse_fecundity, disperse_drift, and the numeric bin-midpoint columns disperse_body_size_cm_mid, disperse_female_wing_mm_mid, disperse_fecundity_mid (all joined on genus).

Details

Source: DISPERSE (Sarremejane et al. 2020, Scientific Data, CC-BY 4.0). Joins on genus because the database is genus-resolved.

References

Sarremejane R et al. (2020) DISPERSE, a trait database to assess the dispersal potential of European aquatic macroinvertebrates. Scientific Data 7:386. doi:10.6084/m9.figshare.c.5000633

Examples

if (FALSE) { # \dontrun{
taxify("Baetis rhodani", backbone = "gbif") |>
  add_disperse()
} # }