powered by
Cells will be moved to their closest milestones.
gather_cells_at_milestones(trajectory)
A trajectory where cells where moved to the closest milestone, the milestone_percentages and progressions will be adapated.
The trajectory as created by infer_trajectory() or add_trajectory()
infer_trajectory()
add_trajectory()
trajectory <- example_trajectory trajectory <- gather_cells_at_milestones(trajectory) head(trajectory$milestone_percentages)
Run the code above in your browser using DataLab