JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for FSL Archives


FSL Archives

FSL Archives


FSL@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

FSL Home

FSL Home

FSL  May 2012

FSL May 2012

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Round 2: Change in functional connectivity between pre- and post-conditions using randomise

From:

Lorena Jimenez-Castro <[log in to unmask]>

Reply-To:

FSL - FMRIB's Software Library <[log in to unmask]>

Date:

Wed, 16 May 2012 17:12:46 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (128 lines)

Hello  Jeanette,

Thanks a lot for your answer.  So I don't need to run a second level, right? if so, How I can get the mean positive and negative correlation for each condition (pre and post)?  if I would want to mask the real pre> post positive/negative correlation result and post> pre positive/negative correlation result.

Just to understand and try to increase my knowledge, I would greatly  appreciate if you can explain to me, when is it necessary to do a second level analysis in fMRI analysis? when using repeat measurements??? I have read some previous papers using seed-based analysis in FSL (FEAT) they did not use a second level, but they were unpaired t test designs for instance Castellanos et al, 2008. 

Is it the analysis I have described in my prior post incorrect?

Thank you so much, I appreciate your help on this matter

Lorena 
______________________
Lorena Jiménez Castro, MD
Postdoctoral Fellow
UTHSCSA
===================
What would possibly be easiest would be to simply use fslmaths to calculate your paired differences for each subject.  Tricking Feat to use the zstats instead of copes to create the difference may be unnecessarily difficult.

To clarify, I'm assuming you have 2 first level analyses for each subject:  pre/post.  Step 1, make sure you transform your zstats from these first level analyses to standard space (easily done with flirt and files in the first level reg directory...see below).  Use fslmaths to calculate the paired differences (pre-post) of your zstats that have been transformed to standard space.  Then use fslmerge -t to create a singe 4d image (1 image per subject).  Last use the randomise call you specified.  Repeat with the difference in the opposite direction.

If you take a look in your reg directory for a single first level analysis you'll find a file called, "example_func2standard.mat".  Assuming you are in the stats directory,
flirt -in zstat#.nii.gz -ref $FSLDIR/data/standard/MNI152_T1_2mm.nii.gz -applyxfm -init ../reg/example_func2standard.mat -out zstat#_standard

will create your standard space zstat image, where you'll need to replace "#" with the correct number of the zstat you're interested in.

Cheers,
Jeanette

On Wed, May 16, 2012 at 10:26 AM, Lorena Jimenez-Castro <[log in to unmask]> wrote:
Dear Tom and Jeanette,

I would like to confirm that I understand what you wrote and commented in previous  posts. So my understanding is that if I am doing for instance a seed-based correlation analysis on a group of subjects with pre and post treatments data. I would need to run a second level analysis in FEAT including all of the fist level analysis together as explained at:
http://www.fmrib.ox.ac.uk/fslcourse/lectures/practicals/feat2/index.htm instead of doing the second level analysis for each subjects separately (as Tom described previously), using a paired t-test,  feeding the COPEs from the first level analysis.
i.e, input pre_subjects COPEs and post_subjects COPEs; design paired-t-test; output:  COPE1 pre> post for all os the subjects, COPE 2: Post > pre for all of the subjects

 I would then have to run two randomize (or FEAT) separately for each COPE (from the second level) as follow:

1) randomise  -i COPE1 pre> post for all subjects -o pre >post.nii -1 -T -m <mask>

2) randomise  -i COPE2 Post > pre_for_all subject  -o Post >pre.nii -1 -T -m <mask>


Then I would  like to mask he positive correlation and negative correlations, I think  using the contrast means from the second level

Questions:
A) Am I on the right track?

B) Following the web page http://www.fmrib.ox.ac.uk/fslcourse/lectures/practicals/feat2/index.htm, and the example described above,  Is it possible to finish the analysis in the second level and to try to publish those results?

C)  If not, Why is it necessary to perform a third level analysis in this case?

I would really appreciate your comments and advice on this matter

Thank you very much

Lorena Jiménez Castro, MD
Postdoctoral Fellow
UTHSCSA



========================

Re: [FSL] Round 2: Change in functional connectivity between pre- and post-conditions using randomise

FROM; Tom Johnstone

TO: [log in to unmask]

Message flagged Wednesday, May 16, 2012 10:05 AM
Of course you're right Jeanette. Though running the fixed effects
won't hurt either I suppose. Whichever is easiest then.

-Tom



On Wed, May 16, 2012 at 3:42 PM, Jeanette Mumford
<[log in to unmask]> wrote:
> Hi,
>
> Using fixed effects on a zstat image isn't necessary for 2 reasons.  Mostly
> because FSL only runs a fixed effects analysis if it finds copes and
> varcopes, so zstats won't have corresponding varcopes (and they don't need
> them).  Secondly, if you use the first level zstat image, these are
> basically the Fisher's Z transformed correlations, which are distributed
> Normally with a sd of 1/sqrt(N-3), where N is the number of time points, so
> the variances are equal across subjects and runs.  The differences in
> variances have been adjusted for.  Instead, you should combine runs over
> subjects using OLS.
>
> Cheers,
> Jeanette
>
>
> On Wed, May 16, 2012 at 9:07 AM, Tom Johnstone <[log in to unmask]>
> wrote:
>>
>> Hi,
>>
>> Here would be the approach:
>>
>> 1. Run a 1st level analysis to compute connectivity maps for each
>> participant. The *ztstat* images will give a measure of connectivity
>>
>> 2. Separately for each subject, run a 2nd level fixed effects analysis
>> on the *zstat* images from the 1st level analysis. Specify a separate
>> EV for each session, and use contrasts of 1 -1  and  -1  1  to compute
>> connectivity differences between sessions (and 0.5 0.5 contrast for
>> the mean connectivity). The output *copes* will represent the
>> connectivity differences
>>
>> 3. Run a 3rd level analysis (either using Flame or Randomise) to
>> perform a 1-sample t-test on the *copes* from the 2nd level analyses.
>>
>> -Tom
>>
>>
>>
>> On Wed, May 16, 2012 at 2:36 PM, Maren Strenziok
>> <[log in to unmask]> wrote:
>> > Hi Tom,
>> >
>> > what would be the input to the fixed effects 2nd level analysis? Cope,
>> > zstats images, or feat directory?
>> >
>> > Maren

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager