canlab / CanlabCore

Core tools required for running Canlab Matlab toolboxes. The heart of this toolbox is object-oriented tools that enable interactive analysis of neuroimaging data and simple scripts using high-level commands tailored to neuroimaging analysis.
https://canlab.github.io/CanlabCore/
Other
149 stars 80 forks source link

built in masking function taking any atlas_object for flexible parcel specification #46

Closed lukasvo76 closed 1 year ago

lukasvo76 commented 1 year ago

Hi Tor!

I built in a mask option for robfit_parcelwise to accept any atlas_object (as an alternative to the default canlab_2018 489 parcels) for flexible specification of different atlases, subsets of parcels from the canlab_2018 atlas, etc.

Would be great if you could have a look and merge into the master branch!

Thanks,

Lukas

torwager commented 1 year ago

Looks good, Lukas! Thanks for contributing!

lukasvo76 commented 1 year ago

My pleasure, thanks for merging! Handy extra functionality for this useful function! Thanks also to @Michael-Sun for building a similar functionality into table(region)!