matchTrajToParticles: Match trajectories to related particles.

View source: R/postprocessing.R

matchTrajToParticlesR 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)


federicomarini/flowcatchR documentation built on March 27, 2024, 3:29 p.m.