Learn R Programming

refdb (version 0.1.2)

igraph_from_taxo: 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)

Value

An igraph object representing taxonomic relationships.

Arguments

x

a reference database (tibble).

cols

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