Is there an afni way to add up, say, columns 27 through 46 of a 1D file?
I could do it with something like -a 27 -b 28 etc. but seems like I'd run out of numbers.
I was wondering if there was something that would take an argument like 1drowsum file.1D[27..46]
I tried this but it didn't work, none of these guys seem to be able to read from stdin:
1dtranspose glm_byT_ir2TR_antNoOvlp_mc_cn_wb.xmat.1D[27..46] | 1dsum | 1dtranspose
I was able to do what I want with 2 intermediate temp files, but I thought I'd check if there was a cleaner way.
Thanks!
-dave