.plotStateTrajectory_def {CellTrails} | R Documentation

## DEF: Visualizing the trajectory graph

### Description

Visualizes the trajectory spanning all states of a component

### Usage

    .plotStateTrajectory_def(
      X,
      g,
      y,
      all_sts,
      name,
      setND = FALSE,
      point_size = 3,
      label_offset = 2
    )

### Arguments

`X` | Layout
`g` | State trajectory graph (igraph object)
`y` | Values; numeric or factor vector
`all_sts` | All state assignments
`setND` | If values of '0' are getting set to 'ND' in the figure legend
`point_size` | Point size paramenter
`label_offset` | Label offset parameter
`label` | Label for plot legend

### Value

A `ggplot` object

### Author(s)

Daniel C. Ellwanger

[Package CellTrails version 1.8.0 Index]