View source: R/wrap_add_pseudotime.R
calculate_pseudotime | R Documentation |
When calculating the pseudotime, the trajectory is expected to be rooted (see add_root()
)
calculate_pseudotime(trajectory)
add_pseudotime(trajectory, pseudotime = NULL)
trajectory |
The trajectory as created by |
pseudotime |
Named vector containing the pseudotime for every cell. If not given, the pseudotime will be calculated. |
The trajectory with pseudotime added, which is a named vector containing the pseudotime values for every cell.
add_root()
, add_linear_trajectory()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.