Learn R Programming

DCLEAR (version 1.0.13)

as_igraph,data.frame-method: as_igraph

Description

Convert an phylo object to an igraph object, while keeping the weight (in contrast to igraph::as.igraph)

Usage

# S4 method for data.frame
as_igraph(x, config)

Value

an igraph object

Arguments

x

a phylo object

config

a `lineage_tree_config` object