gather_cells_at_milestones {dynwrap}R Documentation

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

trajectory <- example_trajectory
trajectory <- gather_cells_at_milestones(trajectory)
head(trajectory$milestone_percentages)


[Package dynwrap version 1.2.2 Index]