R/wrap_add_linear_trajectory.R
add_linear_trajectory.RdThis function will generate the milestone_network and progressions.
add_linear_trajectory(model, pseudotime, directed = FALSE, do_scale_minmax = TRUE, ...)
| 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. |
The trajectory model