taxa (version 0.3.3)

parse_edge_list: Convert a table with an edge list to taxmap

Description

Converts a table containing an edge list into a taxa::taxmap() object. An "edge list" is two columns in a table, where each row defines a taxon-supertaxon relationship. The contents of the edge list will be used as taxon IDs. The whole table will be included as a data set in the output object.

Usage

parse_edge_list(input, taxon_id, supertaxon_id, taxon_name, taxon_rank = NULL)

Arguments

input

A table containing an edge list encoded by two columns.

taxon_id

The name/index of the column containing the taxon IDs.

supertaxon_id

The name/index of the column containing the taxon IDs for the supertaxon of the IDs in taxon_col.

taxon_name

xxx

taxon_rank

xxx

See Also

Other parsers: extract_tax_data(), lookup_tax_data(), parse_tax_data()