Learn R Programming

DCLEAR (version 1.0.13)

as_igraph,phylo-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 phylo
as_igraph(x)

Value

an igraph object

Arguments

x

a phylo object