Skip to content

BAWhyte/Worm-Posture-Tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

DLC-Trematodes

Posture tracking of Himasthla rhigedana worms using DeepLabCut (DLC). Deep learning and the visualization of three worms below were done using DLC and Python. The animated gifs on this page showing the general movement analysis of one body part done from each subject.

The file shared in this repository is the R code for these visualizations. In summary, the code does the following:

  • Build a function for converting time data into D HH:MM:SS format
  • Transforms a data frame using pivot_longer and filters predictions with low likelihood
  • Uses ggplot stat_density_2d to create heat maps of body part positions for the entire recorded video
  • Uses gganimate to visualize the movement of one body part as simulation of the video with tracking points shown, or as a line graph showing cumulative movement

HIMAS_scatter HIMAS_Line2

About

Preliminary behavior analysis of social trematodes using DeepLabCut

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages