as_igraph-data.frame-method: as_igraph

as_igraph,data.frame-methodR 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 'data.frame'
as_igraph(x, config)

Arguments

x

a phylo object

config

a 'lineage_tree_config' object

Value

an igraph object


DCLEAR documentation built on Sept. 14, 2023, 9:09 a.m.