.plot_trajectoryFit {CellTrails} | R Documentation

## DEF: Visualizing the trajectory fit

### Description

Shows the residuals along the trajectory backbone

### Usage

    .plot_trajectoryFit(x, g, sts, factor = 7, rev = FALSE)

### Arguments

`x` | The fitting residuals
`g` | The trajectory graph
`sts` | The states along the trajectory
`factor` | The jitter intensity correlates to the projection error
`rev` | Should the trajectory shown in reverse order?

### Value

A `ggplot` object

### Author(s)

Daniel C. Ellwanger

[Package CellTrails version 1.12.0 Index]