Skip to contents

Thin wrapper around SHARK4R::assign_phytoplankton_group() that reads group definitions from inst/config/phyto_groups.yaml so class/phylum mappings do not need to be hardcoded in application code.

Usage

assign_phyto_groups(scientific_names, aphia_ids = NULL, verbose = FALSE)

Arguments

scientific_names

Character vector of scientific names.

aphia_ids

Integer vector of AphiaIDs (same length), or NULL.

verbose

Passed to SHARK4R::assign_phytoplankton_group().

Value

Return value of SHARK4R::assign_phytoplankton_group().