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  

|
November 24, 2016 10:59AM
Hi all,

I want to calculate the correlation value for two sets of mean time-series from WM and CSF ROIs. I've used "3dmaskave" using the following command to extract mean time-series of both ROIs:

3dmaskave -q -mask CSF_mask.nii.gz RSfMRI_skullStrip.nii.gz > RSfMRI_skullStrip_meanTS_CSF.1D

and then used "1dCorrelate" using the following commadn to calclate the correlation value:

1dCorrelate -s RSfMRI_skullStrip_meanTS_CSF.1D RSfMRI_skullStrip_meanTS_WM.1D >> WM_CSF_meanTS_SpearmancorrVals.txt

What I want to do now, is to drop the first 10 volumes from each resting-state scan before calculating the correlation values. I was thinking of doing this in either steps (3dmaskave or 1dCorrelate) but don't see to find a flag which drops selected volumes. Could anyone suggest a way to this?

Thanks a lot,
-Mojdeh
Subject Author Posted

calculating correlation btw WM and CSF ROIs

Moji November 24, 2016 10:59AM

Re: calculating correlation btw WM and CSF ROIs

Moji November 24, 2016 11:44AM

Re: calculating correlation btw WM and CSF ROIs

Bob Cox November 25, 2016 08:40AM