Define a trajectory model given its milestone network and milestone percentages or progressions

add_trajectory(model, milestone_ids = NULL, milestone_network,
  divergence_regions = NULL, milestone_percentages = NULL,
  progressions = NULL, ...)

Arguments

model

The model to which the trajectory will be added.

milestone_ids

The ids of the milestones in the trajectory. Type: Character vector.

milestone_network

The network of the milestones. Type: Data frame(from = character, to = character, length = numeric, directed = logical).

divergence_regions

A data frame specifying the divergence regions between milestones (e.g. a bifurcation). Type: Data frame(divergence_id = character, milestone_id = character, is_start = logical).

milestone_percentages

A data frame specifying what percentage milestone each cell consists of. Type: Data frame(cell_id = character, milestone_id = character, percentage = numeric).

progressions

Specifies the progression of a cell along a transition in the milestone_network. Type: Data frame(cell_id = character, from = character, to = character, percentage = numeric).

...

extra information to be stored in the model

Value

The trajectory model