Skip to contents

Add a frame matrix to trailDF.

Usage

addFrameMatrix(rezrObj)

Arguments

rezrObj

The desired rezrObj

Value

A rezrObj object, but its trailDF now has an attribute which is a frameMatrix object.

Note

Make sure that the names of the trails are not duplicate with undupeLayers() first. Otherwise you will have trouble when annotating the frameMatrix.

Examples

sbc007 = undupeLayers(sbc007, "trail", "name")
sbc007 = addFrameMatrix(sbc007)
#> Warning: The `x` argument of `as_tibble.matrix()` must have unique column names if `.name_repair` is omitted as of tibble 2.0.0.
#> Using compatibility `.name_repair`.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.