plot2D.TrajectorySet: 2D projection of a 'TrajectorySet' object

Description Usage Arguments Details Value Author(s) Examples

View source: R/trajectories.R

Description

Provides a bird's eye view of a TrajectorySet object on a bidimensional space

Usage

1
2
3
4
5
6
7
8
plot2D.TrajectorySet(
  trajectoryset,
  frames,
  trajIDs = NULL,
  addGrid = FALSE,
  verbose = FALSE,
  ...
)

Arguments

trajectoryset

A TrajectorySet object

frames

A Frames object, used here to identify the limits of the region of interest

trajIDs

A vector containing the ids of the desired trajectories

addGrid

Logical, add an additional grid to the 2-dimensional plot (visual aid for backtracking trajectory point locations)

verbose

Logical, whether to provide additional output on the command line

...

Arguments to be passed to methods

Details

This 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 on a 2d plane. It is possible to subset the TrajectorySet object with the IDs of the desired trajectories

Value

plot2D.TrajectorySet returns an invisible NULL.

Author(s)

Federico Marini, marinif@uni-mainz.de, 2014

Examples

1
2
3
4
data("MesenteriumSubset")
data("candidate.platelets")
platelets.trajectories <- trajectories(candidate.platelets)
plot2D.TrajectorySet(platelets.trajectories,MesenteriumSubset)

flowcatchR documentation built on Nov. 8, 2020, 5:04 p.m.