Skip to contents

The past is searched by the mHistId.x of the origial file

Usage

add_past(x, mutations)

Arguments

x

The original data as tibble.

mutations

Mutation 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)