50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


dynwrap (version 1.2.1)

gather_cells_at_milestones: Gather cells to their closest milestones

Description

Cells will be moved to their closest milestones.

Usage

gather_cells_at_milestones(trajectory)

Arguments

trajectory

The trajectory as created by infer_trajectory() or add_trajectory()

Value

A trajectory where cells where moved to the closest milestone, the milestone_percentages and progressions will be adapated.

Examples

Run this code
# NOT RUN {
trajectory <- example_trajectory
trajectory <- gather_cells_at_milestones(trajectory)
head(trajectory$milestone_percentages)

# }

Run the code above in your browser using DataLab