help > RE: Can ROIs in the default CONN atlas be divided along the long axis?
Nov 10, 2021  09:11 PM | Alfonso Nieto-Castanon - Boston University
RE: Can ROIs in the default CONN atlas be divided along the long axis?
Hi Luis,

That looks fine, not sure why the conn_createsubroi function does not show up there (perhaps there was some delay in updating the github repository as that function was just pushed to that repository briefly before that post?) In any case, I am attaching the function here, simply copy that file to the (v21) conn distribution folder and let me know if you still run into any issues

Alfonso
Originally posted by Luis Alvarado:
Hi Alfonso,

I am sorry to bug you again with this request. 

I am not sure if the conn_createsubroi function exist in the development  version.

BEst,

Luis

Originally posted by Luis Alvarado:
Thank you, Alfonso.

I downloaded version 21.a by using:
but i get this after trying the new function:
>> conn_createsubroi('/neuroimaging_software/conn_dev/conn/rois/atlas.nii', 'newLeftPreCentral.nii', 5, [1 0 0], 14);
Undefined function or variable 'conn_createsubroi'.

I removed the old path to stable conn (20) and added the path to the development version (21) instead. When I asked mathlab about the version, it looks like it is the new one being called.
>> conn version

ans =

'CONN (21.a)'

am I missing something or did I not install it correctly?

Best,

Luis
Attachment: conn_createsubroi.m

Threaded View

TitleAuthorDate
Luis Alvarado Oct 28, 2021
Luis Alvarado Nov 1, 2021
Luis Alvarado Nov 3, 2021
RE: Can ROIs in the default CONN atlas be divided along the long axis?
Alfonso Nieto-Castanon Nov 10, 2021
Luis Alvarado Nov 12, 2021
Alfonso Nieto-Castanon Oct 29, 2021