Add coloring

Add coloring

add_cell_coloring(cell_positions, color_cells = c("auto", "none",
  "grouping", "feature", "milestone", "pseudotime"), trajectory,
  grouping = NULL, groups = NULL, feature_oi = NULL,
  expression_source = "expression", pseudotime = NULL,
  color_milestones = c("auto", "given", "cubeHelix", "Set3", "rainbow"),
  milestones = NULL, milestone_percentages = NULL)

Arguments

cell_positions

The positions of the cells

color_cells

How to color the cells

trajectory

The trajectory

grouping

The grouping of the cells

groups

Tibble containing information of the cell groups

feature_oi

feature to plot expression

expression_source

Source of the feature expression, defaults to `expression`

pseudotime

The pseudotime

color_milestones

How to color the cells

milestones

Tibble containing the `milestone_id` and a `color` for each milestone

milestone_percentages

The milestone percentages