Need a help in doing Resting State fMRI dimension reduction with Pca

Hi Everyone,

      I need to do dimension reduction of resting state fmri dataset from Adni with PCA, I've an issue in coding , could any one help me in this regard??

Fizza