Converts a table containing an edge list into a 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.
parse_edge_list(input, taxon_id, supertaxon_id, taxon_name, taxon_rank = NULL)
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_name | xxx |
taxon_rank | xxx |
Other parsers:
extract_tax_data()
,
lookup_tax_data()
,
parse_tax_data()