Make a pfc
object from a phylo
object
pf_as_pfc.Rd
Make a pfc
object from a phylo
object
Arguments
- x
A phylogenetic tree in
ape::phylo
format- ...
Arguments passed to or from other methods
Examples
pf_as_pfc(ape::rtree(100))
#> <pfc<e:198>[198]>
#> First 10 phylogenetic flows:
#> [1] ◎── 0.55──→ Node2 ── 0.49──→ Node3 ── 0.72──→ t81
#>
#> [2] ◎── 0.55──→ Node2 ── 0.49──→ Node3 ── 0.87──→ Node4 ── 0.86──→ Node5 ── 0.65──→ t68
#>
#> [3] ◎── 0.55──→ Node2 ── 0.49──→ Node3 ── 0.87──→ Node4 ── 0.86──→ Node5 ── 0.76──→ Node6 ── 0.63──→ t98
#>
#> [4] ◎── 0.55──→ Node2 ── 0.49──→ Node3 ── 0.87──→ Node4 ── 0.86──→ Node5 ── 0.76──→ Node6 ── 0.53──→ t64
#>
#> [5] ◎── 0.55──→ Node2 ── 0.49──→ Node3 ── 0.87──→ Node4 ── 0.20──→ Node7 ── 0.92──→ Node8 ── 0.92──→ t29
#>
#> [6] ◎── 0.55──→ Node2 ── 0.49──→ Node3 ── 0.87──→ Node4 ── 0.20──→ Node7 ── 0.92──→ Node8 ── 0.38──→ t22
#>
#> [7] ◎── 0.55──→ Node2 ── 0.49──→ Node3 ── 0.87──→ Node4 ── 0.20──→ Node7 ── 0.42──→ Node9 ── 0.30──→ t57
#>
#> [8] ◎── 0.55──→ Node2 ── 0.49──→ Node3 ── 0.87──→ Node4 ── 0.20──→ Node7 ── 0.42──→ Node9 ── 0.61──→ Node10 ── 0.64──→ Node11 ── 0.14──→ t87
#>
#> [9] ◎── 0.55──→ Node2 ── 0.49──→ Node3 ── 0.87──→ Node4 ── 0.20──→ Node7 ── 0.42──→ Node9 ── 0.61──→ Node10 ── 0.64──→ Node11 ── 1.00──→ t33
#>
#> [10] ◎──0.5485──→ Node2 ──0.4884──→ Node3 ──0.8743──→ Node4 ──0.2033──→ Node7 ──0.4240──→ Node9 ──0.6073──→ Node10 ──0.0099──→ t3