linearise_cells: Prepare a trajectory for linearised visualisation.

Description Usage Arguments Value Examples

View source: R/linearise_cells.R

Description

This is an internal function and should probably not be used manually.

Usage

1
2
3
4
5
6
7
linearise_cells(
  trajectory,
  margin = 0.05,
  no_margin_between_linear = TRUE,
  one_edge = FALSE,
  equal_cell_width = FALSE
)

Arguments

trajectory

A dynwrap trajectory.

margin

A margin between trajectory segments.

no_margin_between_linear

Whether to add a margin only when a branch occurs.

one_edge

Whether or not to assign each cell to one cell only. This can occur when a cell is on a branching point, or in between multiple edges.

equal_cell_width

Whether or not to space segments according to cell count.

Value

A named list with values:

Examples

1

dynplot documentation built on Dec. 11, 2021, 9:33 a.m.