help > Removing ROI in batch
Showing 1-3 of 3 posts
Display:
Results per page:
Feb 12, 2020  10:02 AM | Eugenio Abela
Removing ROI in batch
Hi all

does anyone know how to remove ROI via conn_batch? I know how to add, but not the other way round...

Thank you!

Eugenio
Feb 12, 2020  04:02 PM | Alfonso Nieto-Castanon - Boston University
RE: Removing ROI in batch
Hi Eugenio,

Not exactly, but you could simply define explicitly the list of ROIs that you want in your project (and this will remove/disregard any other existing ROIs), e.g.

conn_batch('Setup.rois.files',{'/software/conn/rois/atlas.nii','/software/conn/rois/networks.nii'});

(modifying the paths accordingly)

Hope this helps
Alfonso

Originally posted by Eugenio Abela:
Hi all

does anyone know how to remove ROI via conn_batch? I know how to add, but not the other way round...

Thank you!

Eugenio
Feb 14, 2020  09:02 PM | Eugenio Abela
RE: Removing ROI in batch
Great, Alfonso, that's what I was looking for!

Cheers
-eu