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)
Arguments
- x
a phylo object
- config
a `lineage_tree_config` object