label_milestones
) or using marker genes (label_milestones_markers
)
R/wrap_label_milestones.R
label_milestones.Rd
Label milestones either manually (label_milestones
) or using marker genes (label_milestones_markers
)
label_milestones(trajectory, labelling) label_milestones_markers(trajectory, markers, expression_source = "expression", n_nearest_cells = 20) is_wrapper_with_milestone_labelling(trajectory) get_milestone_labelling(trajectory, label_milestones = NULL)
trajectory | The trajectory as created by |
---|---|
labelling | Named character vector containing for a milestone a new label |
markers | List containing for each label a list of marker genes |
expression_source | The expression source |
n_nearest_cells | The number of nearest cells to use for extracting milestone expression |
label_milestones | How to label the milestones. Can be TRUE (in which case the labels within the trajectory will be used), "all" (in which case both given labels and milestone_ids will be used), a named character vector, or FALSE |