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

Help for SPM Archives


SPM Archives

SPM Archives


SPM@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

SPM Home

SPM Home

SPM  February 2019

SPM February 2019

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Longitudinal VBM analyses with CAT12.5

From:

Christian Gaser <[log in to unmask]>

Reply-To:

Christian Gaser <[log in to unmask]>

Date:

Fri, 8 Feb 2019 08:31:05 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (293 lines)

Dear Yann,


On 8 Feb 2019, at 8:27, Yann Quidé wrote:

> Dear Christian,
>
> Thanks for your reply. I selected all atlases for preprocessing; so I 
> should be able to select any atlas. I was able to use this atlas for 
> another set of analysis, but not this one.
>
> Any idea why? Or maybe I should change something in the default 
> parameters?
If you select the atlases in the GUI this should be sufficient. However, 
if this not worked for you the change in the defaults is the safest way. 
I will check that the GUI selection will be really used.

Best,

Christian

>
> Thanks for your time,
>
> Yann
>
>
>> On 8 Feb 2019, at 6:16 pm, Christian Gaser 
>> <[log in to unmask]> wrote:
>>
>> Dear Yann,
>>
>> On Thu, 7 Feb 2019 16:43:28 +1100, Yann Quidé <[log in to unmask]> 
>> wrote:
>>
>>> Dear all,
>>>
>>> 1) Thanks Guillaume.
>>> Just for reference, when entering manually the contrast in the 
>>> contrast manager (after building and estimating the model), it 
>>> crashes (as you mentioned), but not when I enter [ones(1,2)/2 
>>> -ones(1,2)/2 0 ones(1,15)/15 -ones(1,10)/10].
>>> In addition, when looking at the results for this contrast, there is 
>>> a significant main effect of group all over the place; which is 
>>> definitely not possible in my population.
>>> Anyway I will try your option.
>>>
>>>
>>> 2) I have another question.
>>> When using the CAT12 option for ROI analyses, and comparing Time 1 
>>> vs Time 2 from my longitudinal design, I do not have the choice of 
>>> the atlas; CAT12 automatically selects the neuromorphometrics atlas 
>>> (for volumetric measures). Is there any reason for that? How can I 
>>> use another atlas for this analysis (eg Cobra)?
>> You need to select the used atlases before preprocessing. It's not 
>> possible to do that retrospectively.
>>
>> Best,
>>
>> Christian
>>>
>>> Thanks for your time!
>>>
>>> Yann
>>>
>>>
>>>
>>>
>>>> On 18 Jan 2019, at 10:33 PM, Flandin, Guillaume 
>>>> <[log in to unmask]> wrote:
>>>>
>>>> Dear Yann,
>>>>
>>>> Could it be that you entered the contrast as:
>>>> [0.5 0.5 -0.5 -0.5 0 0.0667 ... ]
>>>> instead of:
>>>> [[1 1 -1 -1]/2 0 ones(1,15)/15 -ones(1,10)/10]
>>>> so that the contrast vector does not sum to zero (at machine 
>>>> precision)?
>>>>
>>>> Again, for the main effect of group, I would use a two sample 
>>>> t-test
>>>> after having averaged the two images per subject.
>>>>
>>>> Best regards,
>>>> Guillaume.
>>>>
>>>>
>>>> On 17/01/2019 22:48, Yann Quidé wrote:
>>>>> Thanks Guillaume and Christian,
>>>>>
>>>>> Christian, I tried without TIV as covariate, but got the same 
>>>>> error.
>>>>>
>>>>> I have attached the related SPM.mat, the Error.mat saved following 
>>>>> the
>>>>> crash, and the details from the Matlab command window.
>>>>>
>>>>> Please let me know if you need anything else.
>>>>>
>>>>> Thanks again for your time and advice on this.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Yann
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> Running job #1
>>>>> ------------------------------------------------------------------------
>>>>> Running 'Factorial design specification'
>>>>> Mapping files                           :                        
>>>>> ...done
>>>>> Design configuration                    :                        
>>>>> ...done
>>>>> Saving SPM configuration                :               ...SPM.mat 
>>>>> saved
>>>>> Design reporting                        :                        
>>>>> ...done
>>>>> Completed                               :          09:43:00 - 
>>>>> 18/01/2019
>>>>> Done    'Factorial design specification'
>>>>> Running 'Model estimation'
>>>>>
>>>>> SPM12: spm_spm (v7120)                             09:43:00 - 
>>>>> 18/01/2019
>>>>> ========================================================================
>>>>>
>>>>> SPM12: spm_est_non_sphericity (v6913)              09:43:00 - 
>>>>> 18/01/2019
>>>>> ========================================================================
>>>>> Chunk   2/2                             :                        
>>>>> ...done
>>>>> Temporal non-sphericity (70376 voxels)  :             ...ReML 
>>>>> estimation
>>>>>  ReML Iteration 1                      :        ...2.662013e-01 
>>>>> [+4.25]
>>>>>  ReML Iteration 2                      :        ...2.289632e-04 
>>>>> [+4.50]
>>>>>
>>>>> SPM12: spm_spm (v7120)                             09:43:05 - 
>>>>> 18/01/2019
>>>>> ========================================================================
>>>>> Chunk   2/2                             :                        
>>>>> ...done
>>>>> Spatial non-sphericity (over scans)     :                        
>>>>> ...done
>>>>> Saving SPM.mat                          :                        
>>>>> ...done
>>>>> Completed                               :          09:43:30 - 
>>>>> 18/01/2019
>>>>> Done
>>>>> Done    'Model estimation'
>>>>> Running 'Contrast Manager'
>>>>>
>>>>> SPM12: spm_contrasts.m                             09:43:30 - 
>>>>> 18/01/2019
>>>>> ========================================================================
>>>>> Contrasts folder                        : 
>>>>> ..tudinal_Time_by_Group_no_age
>>>>> 0.5         0.5        -0.5        -0.5           0    0.066667
>>>>> 0.066667    0.066667    0.066667    0.066667    0.066667    
>>>>> 0.066667
>>>>> 0.066667    0.066667    0.066667    0.066667    0.066667    
>>>>> 0.066667
>>>>> 0.066667    0.066667        -0.1        -0.1        -0.1        
>>>>> -0.1
>>>>>    -0.1        -0.1        -0.1        -0.1        -0.1        
>>>>> -0.1
>>>>> <-  !invalid contrast
>>>>> Failed  'Contrast Manager'
>>>>> Error using spm_run_con (line 251)
>>>>> Error in contrast specification
>>>>> In file
>>>>> "/mridata/workingdata/RUSE/spm12_coptsd_cat12.5/config/spm_run_con.m"
>>>>> (v7093), function "spm_run_con" at line 251.
>>>>>
>>>>> The following modules did not run:
>>>>> Failed: Contrast Manager
>>>>>
>>>>>> On 15 Jan 2019, at 8:38 AM, Christian Gaser
>>>>>> <[log in to unmask] <mailto:[log in to unmask]> 
>>>>>> <mailto:[log in to unmask] 
>>>>>> <mailto:[log in to unmask]>>> wrote:
>>>>>>
>>>>>> Dear Yann,
>>>>>>
>>>>>> On Fri, 11 Jan 2019 18:17:57 +1100, Yann Quidé 
>>>>>> <[log in to unmask] <mailto:[log in to unmask]>
>>>>>> <mailto:[log in to unmask] <mailto:[log in to unmask]>>> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> Any thought on this?
>>>>>>
>>>>>> To be honest, not. The designs are fine and the contrast for the 
>>>>>> 2nd
>>>>>> model with the group differences is also correct. The only idea I 
>>>>>> have
>>>>>> is to skip the TIV covariate.
>>>>>>
>>>>>> Best,
>>>>>>
>>>>>> Christian
>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Yann
>>>>>>>
>>>>>>>> On 9 Jan 2019, at 9:08 pm, Yann Quidé <[log in to unmask] 
>>>>>>>> <mailto:[log in to unmask]>
>>>>>>>> <mailto:[log in to unmask] <mailto:[log in to unmask]>>> 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Dear all,
>>>>>>>>
>>>>>>>> I am analysing longitudinal VBM data (group1, n=10; group2, 
>>>>>>>> n=15; 2
>>>>>>>> time points) using CAT12.5 (r1363).
>>>>>>>>
>>>>>>>> 1) Looking within group for the effect of time my design matrix
>>>>>>>> looks like attachment1… all boxes (but the one associated 
>>>>>>>> with TIV)
>>>>>>>> below the matrix are grey, indicating that these data are not
>>>>>>>> uniquely specified. As I am comparing the “same brains” 
>>>>>>>> over time, I
>>>>>>>> believe this is ok; is that right?
>>>>>>>>
>>>>>>>> 2) I also wanted to look at the main effects of time, group, 
>>>>>>>> and
>>>>>>>> their interaction using a 2x2 ANCOVA design (design in 
>>>>>>>> attachment2).
>>>>>>>> I followed the CAT12 manual, and used
>>>>>>>> ones(1,n)/n -ones(1,n)/n 0 ones(1,n1)/n1 -ones(1,n2)/n2
>>>>>>>> to model the main effect of group (n=2; n1=15; n2=10).
>>>>>>>>
>>>>>>>> However, the creation of the contrast image crashes when using 
>>>>>>>> the
>>>>>>>> batch mode, with the following error message:
>>>>>>>>
>>>>>>>> ========================================================================
>>>>>>>> Contrasts folder                        : 
>>>>>>>> ..tudinal_Time_by_Group
>>>>>>>> 0.5         0.5        -0.5        -0.5           0    0.066667
>>>>>>>>   0.066667    0.066667    0.066667    0.066667    0.066667
>>>>>>>>   0.066667    0.066667    0.066667    0.066667    0.066667
>>>>>>>>   0.066667    0.066667    0.066667    0.066667        -0.1
>>>>>>>>       -0.1        -0.1        -0.1        -0.1        -0.1
>>>>>>>>       -0.1        -0.1        -0.1        -0.1  <-  !invalid 
>>>>>>>> contrast
>>>>>>>> Failed  'Contrast Manager'
>>>>>>>> Error using spm_run_con (line 251)
>>>>>>>> Error in contrast specification
>>>>>>>> In file "/Users/y.quide/spm12/config/spm_run_con.m" (v7093),
>>>>>>>> function "spm_run_con" at line 251.
>>>>>>>>
>>>>>>>> The following modules did not run:
>>>>>>>> Failed: Contrast Manager
>>>>>>>> ========================================================================
>>>>>>>>
>>>>>>>> When creating the contrast image using contrast manager after
>>>>>>>> selecting RESULTS, it works, BUT the result is surprising: the 
>>>>>>>> main
>>>>>>>> effect of group is over the whole brain!
>>>>>>>>
>>>>>>>> Any idea what goes wrong?
>>>>>>>>
>>>>>>>> Thanks for your time.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>>
>>>>>>>> Yann
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> <Attachment1.png><Attachment2.png>
>>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> -- 
>>>> Guillaume Flandin, PhD
>>>> Wellcome Centre for Human Neuroimaging
>>>> UCL Queen Square Institute of Neurology
>>>> London WC1N 3BG
>>>
>>>
>>
>>

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
2000
1999
1998


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