Learn R Programming

flowcatchR (version 1.6.2)

matchTrajToParticles: 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

Examples

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

Run the code above in your browser using DataLab