Skip to content

Script for R. Automated way to processes Snake files (from JFilament plugin for ImageJ) into length, column length, angle of root (B), straightness of the root, wave density of root (number of bends per mm), and horizontal growth index.

Notifications You must be signed in to change notification settings

debadutta-patra/RootMeasurement

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

RootMeasurement

I have updated this code so that RootMeasure.R is a single step and can have multiple time points, if using a stack of images. Just source the code in R, and follow the on-screen directions.

"Enter Scale Correction Factor" is the value of how many pixels per mm, used in later calculations "Enter Angle B Correction Factor" is the value to make vertical truly vertical. Enter 0 if images are perfectly vertical, positive values if sloped from upper-left to lower-right, and negative values if sloped from upper-right to lower-left.

This code provides an automated way to processes Snake files (from JFilament plugin for ImageJ) into length, column length, angle of root (B), straightness of the root, wave density of root (number of bends per mm), and horizontal growth index.

Length (L): Integrated length from start point to end point Column length (Lc): Straight-line from start point to end point Straightness (STR): Lc/L Wave density (WD): Number of root bends per mm Angle (B): Angle from start point to end point Horizontal growth index (HGI): How far horizontally the root grows

Also, I had a request for root tip angle to be included, so I wrote a separate script (AutoRun_Tips_Proto) that also calculates the angle from the 5th-from-the-last point to the final point in each trace. Fifth-from-the-last point may not be the right distance, so please use with caution, and let me know your comments.

Thank you for using the RootMeasurement R scripts, in conjunction with JFilament and ImageJ.

About

Script for R. Automated way to processes Snake files (from JFilament plugin for ImageJ) into length, column length, angle of root (B), straightness of the root, wave density of root (number of bends per mm), and horizontal growth index.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%