linearise_cells.RdLinearise a trajectory
linearise_cells(trajectory, margin = 0.05, no_margin_between_linear = TRUE, one_edge = FALSE, equal_cell_width = FALSE)
| trajectory | The trajectory |
|---|---|
| margin | The margin to add |
| no_margin_between_linear | Whether to add a margin only when |
| one_edge | If TRUE, assigns each cell to one edge only |
| equal_cell_width | if TRUE, will give each cell equal width |