igraph_from_taxo: Create a graph from a taxonomic table

View source: R/refdb_plots.R

igraph_from_taxoR Documentation

Create a graph from a taxonomic table

Description

Create a graph representation from a taxonomic classification included in a reference database. For this function to work, taxonomic fields must be set.

Usage

igraph_from_taxo(x, cols = NULL)

Arguments

x

a reference database (tibble).

cols

an optional vector of column names to use a subset of columns.

Value

An igraph object representing taxonomic relationships.


refdb documentation built on Sept. 22, 2022, 5:07 p.m.