plotTrajectoryFit {CellTrails} | R Documentation

## Visualize trajectory fit residuals

### Description

Method visualizes the fitting residuals along the trajectory backbone.

### Usage

    plotTrajectoryFit(sce)

### Arguments

`sce` | A `SingleCellExperiment` object

### Details

Shows the trajectory backbone (longest shortest path between two samples) and the fitting deviations of each sample indicated by the perpendicular jitter. Data points are colorized by state.

### Value

A `ggplot` object

### Author(s)

Daniel C. Ellwanger

### See Also

`fitTrajectory` `trajResiduals`

### Examples

    # Example data
    data(exSCE)

    plotTrajectoryFit(exSCE)

[Package CellTrails version 1.0.1 Index]