Learn R Programming

flowcatchR (version 1.6.2)

plot.TrajectorySet: 3D representation of a TrajectorySet object

Description

Provides a visual representation of a TrajectorySet object

Usage

## S3 method for class 'TrajectorySet':
plot(x, frames, verbose = FALSE, ...)

Arguments

x
A TrajectorySet object
frames
A Frames object, used here to identify the limits of the region of interest
verbose
Logical, whether to provide additional output on the command line
...
Arguments to be passed to methods

Value

  • plot.TrajectorySet returns an invisible NULL.

Details

Based on the rgl library, the function extracts the region of interests from the dimensions of an image of the Frames object, and afterwards plots the x-y-time representation of the identified trajectories

Examples

Run this code
data("MesenteriumSubset")
data("candidate.platelets")
platelets.trajectories <- trajectories(candidate.platelets)
plot(platelets.trajectories,MesenteriumSubset)

Run the code above in your browser using DataLab