Skip to contents

Joins the consensus reef-fish trophic-guild assignment to a taxify() result by accepted_name. The guild is the modal expert classification.

Usage

add_parravicini(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 parravicini_trophic_guild.

Details

Source: Parravicini et al. (2020) reef-fish trophic guilds (PLoS Biology, CC-BY 4.0).

References

Parravicini V et al. (2020) Delineating reef fish trophic guilds with global gut content data synthesis and phylogeny. PLoS Biology 18:e3000702. doi:10.1371/journal.pbio.3000702

Examples

if (FALSE) { # \dontrun{
taxify("Zebrasoma scopas", backbone = "gbif") |>
  add_parravicini()
} # }