R/wrap_add_branch_trajectory.R
add_branch_trajectory.Rd
Define a trajectory model given its branch network and the pseudotime of the cells on one of the branches
add_branch_trajectory(model, branch_network, branches, branch_progressions, ...)
model | The model to which the trajectory will be added. |
---|---|
branch_network | The network between branches Type: Data frame(from = charactor, to = character) |
branches | The length and directedness of the branches Type: Data frame(branch_id = character, length = numeric, directed = logical) |
branch_progressions | Specifies the progression of a cell along a transition in the branch network. Type: Data frame(cell_id = character, branch_id = character, percentage = numeric). |
... | extra information to be stored in the model |
The trajectory model