Open GakenouOF opened 11 months ago
Hello @oliviermartin7 I have the same questions @GakenouOF Conversion to Matlab file and integration with ITSMe package could be a powerfull tool. Best regards, Jakub
Hello,
aRchi2treeQSM() : creates a data.table with the same order and columns names as in treeQSM. However it does not write a .mat file. This is on the to do list but I unfortunately lack of time to improve the package. But you can maybe write such a file by yourself (package R.matlab ?).
Please note that there are many functions to extract metrics from QSMs with aRchi (treebiomass, treevolume, pathfraction, WBEparameters, fork rate....).
Best,
Olivier
Hello @oliviermartin7,
Thank you for this excellent package.
I would like to understand the
archi2treeQSM
function well. Does the function convert the archi file to the same output generated in Matlab when you run TreeQSM? I am not familiar with Matlab and i have not run TreeQSM before.However, I have used your package to create QSM which works perfectly well, and i want to extract the structural metrics from the qsm using ITSMe package (the package only recognize QSM from TreeQSM (.mat files)).
I used the
archi2treeQSM
function to generate a qsm in treeQSM format, then used the writeMat function from R.matlab to convert the dataframe to .mat file.When i tried reading in the data using the ITMSe package, i get an error
So, i treid using the
read_QSM
function in aRchi to read in the file, i also get this errorPlease, kindly let me know if i misunderstood the function. It will be of great help if i can convert aRchi file to TreeQSM format
Thank you.