View source: R/simplify_trajectory.R
simplify_trajectory | R Documentation |
Milestones that are not a leaf or a branching point are removed: A -> B -> C becomes A -> C
Cycles contain at least 3 nodes, ie. A -> B -> A becomes A -> B -> C -> A
Loops are converted to a cycle, unless allow_self_loops = TRUE
simplify_trajectory(trajectory, allow_self_loops = FALSE)
trajectory |
The trajectory as created by |
allow_self_loops |
Whether or not to allow self loops. |
The positions of the cells within the trajectory remain the same.
A trajectory object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.