Skip to contents

Returns the end edge of each phylogenetic flow as a two-column tibble with start and end columns

Usage

pf_ends(x, return_names = TRUE)

Arguments

x

A pfc object

return_names

If TRUE, return the start and end node names. If FALSE, return their indexes.

Value

A tibble with start and end nodes

Examples

pf_ends(rpfc(100))
#> # A tibble: 198 × 2
#>    start  end  
#>    <chr>  <chr>
#>  1 Node22 t60  
#>  2 Node36 t41  
#>  3 Node36 t80  
#>  4 Node21 t81  
#>  5 Node26 t65  
#>  6 Node26 t91  
#>  7 Node44 t64  
#>  8 Node97 t27  
#>  9 Node97 t94  
#> 10 Node73 t88  
#> # ℹ 188 more rows