as_igraph,data.frame-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 'data.frame'
as_igraph(x, config)
Arguments
x |
a phylo object |
config |
a 'lineage_tree_config' object |
Value
an igraph object
[Package DCLEAR version 1.0.13 Index]