make_named_taxon_list: Make Taxon Named List

Description Usage Arguments Examples

View source: R/list_col_funs.r

Description

little wrapper around setNames to make a named list suitable for 'summary_by_taxon()'

Usage

1

Arguments

taxon_df

a taxon dataframe, including a name_agg column and a to column. These are created by using 'data.tree::ToDataFrameNetwork' on a data.tree which has had the name (taxon) field aggregated using the 'list_up_tree' function. See 'generate_trees.R' in data-raw folder for example.

Examples

1
make_named_taxon_list(taxonomy_df_lower_threshold)

mattmalcher/gov.uk.taxonomy documentation built on Jan. 25, 2020, 12:45 a.m.