gather_cells_at_milestones: Gather cells to their closest milestones

View source: R/wrap_gather_cells_at_milestones.R

gather_cells_at_milestonesR 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)


dynwrap documentation built on July 26, 2023, 5:15 p.m.