The past is searched by the mHistId.x of the origial file
Examples
mutations <- swcGetMutations()
#> Warning: `swcGetMutations()` was deprecated in munch 0.0.8.
#> ℹ Please use `swc_get_mutations()` instead.
t <-
dplyr::filter(mutations, mId.y == 293)
t_1 <- dplyr::filter(t, mHistId.y == max(mHistId.y))
t_past <- add_past(t, mutations)