Hi all,
We are currently rerunning some analyses to test the new part6 functionality in GGIR, as described on the GitHub page.
In this context, we noticed that certain components, such as ‘part6DFA’, are not being exported (SSP and ABI variables). Could this be because this feature is still under development? If so, do you have any information on when it might become publicly available? Alternatively, is there maybe something else that needs to be adjusted besides ‘part6DFA = TRUE’?
Additionally, we observed a difference between the cosinor variables exported in part2 and those exported in part6. Is this because part6 utilises the ‘part6Window’ (what is the default value?), while part2 uses the window defined by 'strategy'? Furthermore, we noticed that the cosinorIS and cosinorIV variables are exclusively exported in part2 (for part6 they are in the RData file but not in the csv).
Thanks in advance!
Best,
Anne
for part6 they are in the RData file but not in the csv
--
You received this message because you are subscribed to the Google Groups "R package GGIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to RpackageGGIR...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/RpackageGGIR/44886311-556c-4999-8ace-30dbaef0a4a4n%40googlegroups.com.
Hi Anne and Vincent,
I downloaded Anne’s shell script and ran it on a few of my own files, and everything worked as expected. In the part6_summary file, I can see IS, IV, phi, along with the SSP and ABI metrics. I processed both .gt3x and then .cwa files.
I assume you’re using GGIR version 3.1-6 or 3.1-7. Have you tried (after "multiple adjustments" of your script) re-running (mode 1:6) the analysis in a different Output folder on just a 1 file? Sometimes it helps.
All the best,
Jan Dygrýn
To view this discussion, visit https://groups.google.com/d/msgid/RpackageGGIR/842f30a8-2902-4d9c-9ac5-b9c88d96e964n%40googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/RpackageGGIR/CAP9kyXwztGBH0_FNGFwQhu313w%2B7gUF7x20TXWwjZt5%2BbMpHhA%40mail.gmail.com.
Dear Vincent, dear Jan,
Thank you very much for your help - it works now!
However, we noticed that part5 produces unexpected results for some fragmentation metrics, particularly alpha, x0.5 and W0.5. Both alpha and x0.5 seem lower than expected and W0.5 is nearly always 1, which appears unrealistic.
Do you have any insights into what might be influencing these results?
Thanks in advance for your help!
Best,
Anne
To view this discussion, visit https://groups.google.com/d/msgid/RpackageGGIR/3377f274-3453-4d30-a646-7730664acc1en%40googlegroups.com.
Dear Vincent,
I noticed that W0.5 is consistently 1 for all 1080 participants, suggesting that the issue is not related to the input data. Instead, I believe the unexpected results are related to the definition of xmin.
In the g.fragmentation function, xmin is set to 1 (GGIR/R/g.fragmentation.R at master · wadpac/GGIR · GitHub line 4), which makes sense, as 1 (i.e., 5s) is the shortest recordable (though not necessarily observed) bout length. However, in the g.part5_analyseSegment function, xmin is overwritten as 60/ws3new, resulting in a value of 12 (60/5) (GGIR/R/g.part5_analyseSegment.R at master · wadpac/GGIR · GitHub line 398).
This adjustment appears to cause the very low results for alpha and the median bout length, leading to a proportion of 1 for all participants. When setting xmin to 1, the results seem more realistic.
Was there a specific reason for defining xmin as 12 in this case?
I appreciate your insights.
Best regards,
Anne
To view this discussion, visit https://groups.google.com/d/msgid/RpackageGGIR/58ca91da-0c77-4ddc-9757-40c892c98a47n%40googlegroups.com.