Visualizes the migration of single cells of interest.

plotSingleTracks(
  object,
  cell_ids,
  phase = "all",
  size = 1,
  color_by = NULL,
  scales = "free"
)

Arguments

object

A valid cypro object.

cell_ids

Character vector. Denotes the cell ids of interest.

phase

Character or numeric. If character, the ordinal value referring to the phase of interest (e.g. 'first', 'second' etc.). referring to the phase of interest or 'all'. If numeric, the number referring to the phase.

If set to NULL takes the phase denoted as default with adjustDefault().

Ignored if the experiment design contains only one phase.

scales

Given to ggplot2::facet_wrap(). Affects the way the subplots are displayed.

Value

A ggplot.