Skip to contents

Get edges and positions along edges where a set of epoch times intersect

Usage

pf_epoch_info(x, times)

Arguments

x

An object of class pfc

times

A vector of epoch times to slice the pfc along

Value

A tibble with edge labels in the first column and position in the second column

Examples

pf_epoch_info(rpfc(100), c(1, 2, 3))
#> Warning: Some times are outside the range of zero to the maximum length of the phyf ({max_len}), these elements will be NULL in the return value
#>      edge   position
#> 1      t8 0.23067277
#> 2   Node4 0.23067277
#> 3      t8 1.23067277
#> 4   Node8 0.33231628
#> 5  Node10 0.05266042
#> 6  Node11 0.33231628
#> 7  Node12 0.44474562
#> 8  Node19 0.17985134
#> 9  Node20 0.05266042
#> 10 Node54 0.44474562