snap {flowcatchR} | R Documentation |
This function combines all classes related to a single experiment in order to deliver a clickable feedback on one of the frames.
snap(raw.frames, binary.frames, particleset, trajectoryset, frameID = 1, infocol = "yellow", infocex = 1, showVelocity = FALSE)
raw.frames |
A |
binary.frames |
A |
particleset |
A |
trajectoryset |
A |
frameID |
The ID of the frame to inspect |
infocol |
The color to use for plotting the contours and the information on the clicked particle |
infocex |
The numeric character expansion value as in |
showVelocity |
Logical, whether to display additional information on the instantaneous velocity of the particle |
An image of the selected frame, rendered in R native graphics, and additionally a list with the coordinates as well as the trajectory ID of the particle closest to the clicked location
Federico Marini, marinif@uni-mainz.de, 2015
## Not run: data(MesenteriumSubset) binary.frames <- preprocess.Frames(channel.Frames(MesenteriumSubset,"red")) particleset <- particles(MesenteriumSubset,binary.frames,"red") trajectoryset <- trajectories(particleset) snap(MesenteriumSubset,binary.frames,particleset,trajectoryset,frameID=1) ## End(Not run)