AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
June 30, 2021 08:15PM
Howdy-

As a preliminary question, what is your AFNI version ("afni -ver")? I don't think we have made the a*rank* dsets for a while... In general, we recommend people use the a*REN* dsets that are made---those have more stable numbering. These are described here as part of the FreeSurfer tutorial:
[afni.nimh.nih.gov]
(Note that selecting by ROI label should actually still be OK even for the *rank* dsets---but the *REN* dsets are good to know about/use anyways.)

In terms of your ROI label names, you should be able to use the ROI selector notation in AFNI, putting the list of ROI labels in angle brackets (with quotes):
3dcalc -a aparc.a2009s+aseg_rank_Alnd_Exp+orig.HEAD"<ctx_lh_G_pariet_inf-Angular,ctx_lh_G_pariet_inf-Supramarc,ctx_lh_S_interm_prim-Jensen>" -expr 'a' -prefix lh.InferiorParietal.cortical
That should do what your expression did with the 3 sep ROIs.

If you want to reattach the labeltable (and the automatic use of an ROI-appropriate colorbar in the AFNI GUI) to your new dset:
3drefit -copytables aparc.a2009s+aseg_rank_Alnd_Exp+orig.HEAD    lh.InferiorParietal.cortical+orig
3drefit -cmap INT_CMAP            lh.InferiorParietal.cortical+orig

--pt
Subject Author Posted

Cannot extract ROI labels from aparc.a2009s+aseg_rank_Alnd_Exp

ajschadler12 June 30, 2021 05:19PM

Re: Cannot extract ROI labels from aparc.a2009s+aseg_rank_Alnd_Exp

ptaylor June 30, 2021 08:15PM

Re: Cannot extract ROI labels from aparc.a2009s+aseg_rank_Alnd_Exp

ajschadler12 July 01, 2021 05:13PM

Re: Cannot extract ROI labels from aparc.a2009s+aseg_rank_Alnd_Exp

ptaylor July 01, 2021 06:47PM