Learn R Programming

BioTrajectory (version 1.1.0)

Image Processing Tools for Barnes Maze Experiments

Description

Tools to process the information obtained from experiments conducted in the Barnes Maze. These tools enable the detection of trajectories generated by subjects during trials, as well as the acquisition of precise coordinates and relevant statistical data regarding the results. Through this approach, it aims to facilitate the analysis and interpretation of observed behaviors, thereby contributing to a deeper understanding of learning and memory processes in such experiments.

Copy Link

Version

Install

install.packages('BioTrajectory')

Monthly Downloads

159

Version

1.1.0

License

LGPL-3

Maintainer

Antonio Guerrero

Last Published

November 26th, 2025

Functions in BioTrajectory (1.1.0)

readImage

Read and Resize an Image
print.summary.trajectory

Print Summary of the Trajectory
readtrackData

Reads tracking data from a specified file.
reverseTrajectory

Reverse the points of a trajectory object and create a new trajectory
isClosed

Check if the first and last points of a "trajectory" object are within a given tolerance
showDistanceToTarget

Visualizes the distance to the target in a plot.
selFrame

Image Frame Selector and Viewer
length.trajectory

Length of the Trajectory
trajectory

Trajectory Class
trimTrajectory

Trim a trajectory object to a subset of points
subsampleTrajectory

Subsample the points of a trajectory object and create a new trajectory
smoothTrajectory

Apply a moving average filter to the trajectory and create a smoothed trajectory
summary.trajectory

Summary of the Trajectory
tangentVectors

Calculate the tangent cectors of a trajectory object
detectBarnes

Detect Circles in a Maze Image
distanceToTarget

Calculates distances to a target point
getRadius

Estimate the Radius of a Circle Fitting Four Points
nearestTarget

Finds the nearest targets to a set of points within a specified radius.
distanceTraveled

Calculates the total distance traveled through a series of points.
getTrajectory

Get Object Trajectory from Image Sequence
heatmapFromTrajectory

Creates a heatmap from a trajectory.
normalVectors

Calculate the normals from tangents of a trajectory object
videoToFrames

Extract Frames from a Video and Save as Images
interpolateTrajectory

Interpolates a trajectory
is.trajectory

Check if Object is a Trajectory
as.trajectory

Convert to Trajectory Object
centroid

Calculate the Centroid of Object
or

Combine Two Trajectories
plot.trajectory

Plot the Trajectory