as_igraph,phylo-method {DCLEAR}R Documentation

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

Arguments

x

a phylo object

Value

an igraph object


[Package DCLEAR version 1.0.13 Index]