View source: R/convert_milestone_percentages_to_progressions.R
convert_milestone_percentages_to_progressions | R Documentation |
Conversion between milestone percentages and progressions
convert_milestone_percentages_to_progressions(
cell_ids,
milestone_ids,
milestone_network,
milestone_percentages
)
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). |
milestone_percentages |
A data frame specifying what percentage milestone each cell consists of. Type: Data frame(cell_id = character, milestone_id = character, percentage = numeric). |
A data frame with columns cell_id
, from
, to
, percentage
.
add_trajectory()
, convert_progressions_to_milestone_percentages
progressions <- convert_milestone_percentages_to_progressions(
cell_ids = example_trajectory$cell_ids,
milestone_ids = example_trajectory$milestone_ids,
milestone_network = example_trajectory$milestone_network,
milestone_percentages = example_trajectory$milestone_percentages
)
head(progressions)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.