R/wrap_add_pseudotime.R
add_pseudotime.Rd
Add or calculate pseudotime as distance from the root
calculate_pseudotime(trajectory) add_pseudotime(trajectory, pseudotime = NULL)
trajectory | The trajectory |
---|---|
pseudotime | Named vector containing the pseudotime for every cell |