read AFNI brick labels in R

Moderator note: this question was originally asked on a separate thread. It is a separate question than that thread’s discussion, and has been separated into a new thread for organizational purposes.

thanks,
pt

Hi Rick,

Is there a way to only read AFNI brick labels without really read/load the file itself in R? Something like 3dinfo -verb.

Thanks,
2086

Hi 2086,

I don’t think there is an extensive interface for that. But it might be easy to indeed run 3dinfo, as it does not load the dataset, e.g.

3dinfo -label DSET+tlrc

or maybe with specifying space as a sub-brick delimiter:

3dinfo -sb_delim ’ ’ -label DSET+tlrc

  • rick