Using R with AFNI

AFNI already has a host of programs that use R to analyze MRI data – 3dLME, 3dMVM, 3dMEMA, etc.  Suppose you wanted to create your own functions that use R to manipulate data – well here’s a quick introduction.  In this quick example, here is how to “Auto Mask” your dataset in R. source(‘path/to/AFNI/AFNIio.R’) thedata … Continue reading Using R with AFNI