R/wrap_add_cluster_graph.R
add_cluster_graph.Rd
This function will generate the milestone_network and progressions.
add_cluster_graph(model, milestone_network, grouping = NULL, explicit_splits = FALSE, ...)
model | The model to which a cluster graph will be added. Needs to have a cell grouping created by |
---|---|
milestone_network | A network of milestones. |
grouping | A grouping of the cells, can be a named vector or a dataframe with group_id (character) and cell_id (character) |
explicit_splits | Whether to make splits specific by adding a starting node. For example: A->B, A->C becomes A->X, X->B, X->C |
... | extra information to be stored in the wrapper. |
The trajectory model