User Tools

Site Tools


tutorials:analyse-fastrak-in-r

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tutorials:analyse-fastrak-in-r [2025/06/27 13:13] – created ttutorials:analyse-fastrak-in-r [2025/06/27 15:57] (current) – removed t
Line 1: Line 1:
-====== Analyse structural FASTRAK data in R ====== 
-There exists the rare case that you might want to conduct some statistical analysis on the structure of your simulated or measured plant outside of XL and GroIMP. GroIMP's query system is principally a very powerful tool for the data subsetting part of such analysis (finding parts of your structure that follow some topological relationships), but it can be hard to apply advanced statistical methods directly in GroIMP. 
- 
-Here, we present an example on how to export structures from GroIMP and how to analyze them in R. 
- 
-===== Requirements ===== 
-  * GroIMP "qsm" plugin 
-  * GroIMP "fastrakReader" plugin when working with FASTRAK data (use version 0.8 with GroIMP version 2.2) 
-  * Some recent version of R 
-  * R-library "rTwig" ([[https://github.com/aidanmorales/rTwig/|rTwig documentation on github]]) 
- 
-===== GroIMP import & export===== 
-==== Import ==== 
- 
-When using FASTRAK data, you can open a new RGG project and simply import your file using Object -> Insert File / Insert File to RGG. This required the fastrakReader plugin. The difference is that if you insert to RGG, the file will be imported under the RGG Root instead of under Node.0. For our example here, both are equivalent. Note that your data might be scaled in an unexpected way relative to your GroIMP project. In the picture below is an example of FASTRAK data inserted in a New RGG project, note the size of the FASTRAK tree relative to the "A" of New RGG. 
- 
-{{:tutorials:fastrak-imported-new-rgg.png?400|}} 
- 
-If you want to delete this structure, you can do Edit -> Clear Project Graph (which will remove everything, not only the thing you just imported). 
- 
- 
  
tutorials/analyse-fastrak-in-r.1751022823.txt.gz · Last modified: 2025/06/27 13:13 by t