This function will generate the milestone_network and progressions.

add_linear_trajectory(model, pseudotime, directed = FALSE,
  do_scale_minmax = TRUE, ...)

Arguments

model

The model to which a linear trajectory will be added.

pseudotime

A named vector of pseudo times.

directed

Whether or not the directionality of the pseudotime is predicted.

do_scale_minmax

Whether or not to scale the pseudotime between 0 and 1. Otherwise, will assume the values are already within that range.

...

extra information to be stored in the wrapper.

Value

The trajectory model