matchTrajToParticles {flowcatchR} | R Documentation

## Match trajectories to related particles.

### Description

Match trajectories to the related particles in the `TrajectorySet` and `ParticleSet` objects. This function returns a new `ParticleSet` object that contains as additional column the trajectory ID that the particular particle was assigned to. Used also by other routines, such as `snap`

### Usage

    matchTrajToParticles(particleset, trajectoryset)

### Arguments

`particleset` | A `ParticleSet` object
`trajectoryset` | A `TrajectorySet` object coupled to the `particleset`

### Value

A `ParticleSet` object with an additional column with the trajectory IDs

### Author(s)

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

### Examples

    data(candidate.platelets)
    trajs <- trajectories(candidate.platelets)
    matchTrajToParticles(candidate.platelets, trajs)

[Package flowcatchR version 1.22.0 Index]