convert_progressions_to_milestone_percentages {dynwrap}R Documentation

Conversion between milestone percentages and progressions

Description

Conversion between milestone percentages and progressions

Usage

convert_progressions_to_milestone_percentages(
  cell_ids,
  milestone_ids,
  milestone_network,
  progressions
)

Arguments

cell_ids

The identifiers of the cells.

milestone_ids

The ids of the milestones in the trajectory. Type: Character vector.

milestone_network

The network of the milestones. Type: Data frame(from = character, to = character, length = numeric, directed = logical).

progressions

Specifies the progression of a cell along a transition in the milestone_network. Type: Data frame(cell_id = character, from = character, to = character, percentage = numeric).

Value

The milestone percentages

See Also

add_trajectory(), convert_milestone_percentages_to_progressions()

Examples

milestone_percentages <- convert_progressions_to_milestone_percentages(
  cell_ids = example_trajectory$cell_ids,
  milestone_ids = example_trajectory$milestone_ids,
  milestone_network = example_trajectory$milestone_network,
  progressions = example_trajectory$progressions
)
head(milestone_percentages)


[Package dynwrap version 1.2.2 Index]