Skip to contents

Get only the tip elements of a pfc

Usage

pf_tips(x)

Arguments

x

A pfc object

Value

A pfc object with only tip elements

Examples

pf_tips(rpfc(100))
#> <pfc<e:198>[100]>
#> First  10 phylogenetic flows: 
#> [1] ◎──0.047──→ Node2 ──0.637──→ Node8 ──0.226──→ Node34 ──0.043──→ t81 
#> 
#> [2] ◎──0.047──→ Node2 ──0.637──→ Node8 ──0.226──→ Node34 ──0.031──→ Node63 ──0.012──→ t41 
#> 
#> [3] ◎──0.047──→ Node2 ──0.637──→ Node8 ──0.226──→ Node34 ──0.031──→ Node63 ──0.012──→ t38 
#> 
#> [4] ◎──0.04661──→ Node2 ──0.63687──→ Node8 ──0.00699──→ Node9 ──0.00105──→ Node10 ──0.25217──→ Node70 ──0.00049──→ Node72 ──0.00833──→ t9 
#> 
#> [5] ◎──0.04661──→ Node2 ──0.63687──→ Node8 ──0.00699──→ Node9 ──0.00105──→ Node10 ──0.25217──→ Node70 ──0.00049──→ Node72 ──0.00833──→ t21 
#> 
#> [6] ◎──0.04661──→ Node2 ──0.63687──→ Node8 ──0.00699──→ Node9 ──0.00105──→ Node10 ──0.25217──→ Node70 ──0.00296──→ Node77 ──0.00021──→ Node78 ──0.00046──→ Node79 ──0.00520──→ t15 
#> 
#> [7] ◎──0.04661──→ Node2 ──0.63687──→ Node8 ──0.00699──→ Node9 ──0.00105──→ Node10 ──0.25217──→ Node70 ──0.00296──→ Node77 ──0.00021──→ Node78 ──0.00046──→ Node79 ──0.00097──→ Node81 ──0.00422──→ t31 
#> 
#> [8] ◎──0.04661──→ Node2 ──0.63687──→ Node8 ──0.00699──→ Node9 ──0.00105──→ Node10 ──0.25217──→ Node70 ──0.00296──→ Node77 ──0.00021──→ Node78 ──0.00046──→ Node79 ──0.00097──→ Node81 ──0.00422──→ t68 
#> 
#> [9] ◎──0.04661──→ Node2 ──0.63687──→ Node8 ──0.00699──→ Node9 ──0.00105──→ Node10 ──0.25217──→ Node70 ──0.00296──→ Node77 ──0.00021──→ Node78 ──0.00343──→ Node88 ──0.00223──→ t47 
#> 
#> [10] ◎──0.04661──→ Node2 ──0.63687──→ Node8 ──0.00699──→ Node9 ──0.00105──→ Node10 ──0.25217──→ Node70 ──0.00296──→ Node77 ──0.00021──→ Node78 ──0.00343──→ Node88 ──0.00223──→ t56