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  April 2014

FSL April 2014

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: [FSL] FSLnets error with new version

From:

Stephen Smith <[log in to unmask]>

Reply-To:

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

Date:

Sat, 5 Apr 2014 08:13:20 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (213 lines)

Hi - actually - the following might be more useful in terms of a more recent (non-current) release:
> www.fmrib.ox.ac.uk/~steve/ftp/fslnets0.5.tar.gz
Cheers



On 3 Apr 2014, at 15:51, Stephen Smith <[log in to unmask]> wrote:

> Hi
> 
> On 3 Apr 2014, at 15:39, Paul Beach <[log in to unmask]> wrote:
> 
>> Stephen,
>> 
>> My data were all pre and post processed in AFNI. Thus my ROIs and correlational time series files/maps are all .HEAD/.BRIK files. Do you have any suggestions as to how to get these into the 4D nifti format necessary to get the "group_maps" file created for FSLNets? This is assuming it could be done without running everything through FSL in the first place.  :)
> 
> you would need to convert BRIK to NIFTI - I would imaging that AFNI can do that.
> 
>> 
>> Alternatively, is there an archive available of prior versions of FSLNets? I'd like to re-run my hierarchical clustering but the current version requires the group_maps files.
> 
> sure - though no longer supported - one old version:
> www.fmrib.ox.ac.uk/~steve/ftp/fslnets0.3.tar.gz
> 
> 
> Cheers
> 
> 
> 
>> 
>> 
>> Thanks for your help.
>> 
>> 
>> On Sat, Mar 29, 2014 at 10:30 AM, Stephen Smith <[log in to unmask]> wrote:
>> Hi
>> 
>> 
>> On 29 Mar 2014, at 13:58, Paul Beach <[log in to unmask]> wrote:
>>> Any help on the issues below would be greatly helpful!
>>> 
>>> Steve,
>>> 
>>> Thanks for the prior replies about the new FSLnets version. 
>>> 
>>> I have a few more questions based on other issues I'm now having with the new FSLnets version. My processing stream takes resting time series data from a set of ROIs using AFNI commands and putting them into the FSLnets setup. I'm currently not using the dual-regression/ICA approach in FSL. Thusly, I do not have any "group maps" to include, making several of the steps currently not possible.
>> 
>> If you have a 4D NIFTI file of the maps then it should be easy to create a [maps].sum folder using the slices_summary command (see nets_examples.m).
>> 
>>> Is there a way to compile ROI files/networks using FSL commands in a way that will make the FSLNets scripts happy? Alternatively, is there a workaround so I can avoid using the "group maps" variable for all of the steps?
>>> 
>>> Also, in the new version of the "nets_glm" function I'm not getting a color coded correlation matrix figure for each contrast when I try to look at all my ROIs at once. Instead the output looks more like a frequency figure.
>> 
>> this happens when the nets_glm function thinks that you haven't given it a square matrix as input....  so no, in normal use it should look like the same as before.
>> 
>> The nets_glm corrected p-values are FWE using randomise (see randomise on the FSL wiki) - not Bonferroni corrected.
>> 
>> Cheers.
>> 
>> 
>>> 
>>> My nets_glm command is as follows:
>>> [p_uncorrected,p_corrected]=nets_glm(netmats2,'GLM_painad3_AgeGenderCovar.mat','GLM_painad3_AgeGenderCovar.con',1);
>>> 
>>> The error message I'm getting is:
>>> Cannot open //group_maps.sum/0017.png for reading
>>> ??? Error using ==> imread at 374
>>> File "/private/tmp/tpec358c26_bb1b_4c2a_9647_234f90dd9fab.png" does not
>>> exist.
>>> 
>>> Error in ==> nets_edgepics at 40
>>>   system(sprintf('slices_summary %s %s
>>>   %s',group_maps,grott,num2str(ts.DD([xxx])-1)));  picgood=imread(grott);
>>> 
>>> Error in ==> FSLNets_AllNets_pbeach at 75
>>> nets_edgepics(ts,group_maps,Znet2,reshape(p_corrected(1,:),ts.Nnodes,ts.Nnodes),6); 
>>> 
>>> A screenshot of the output figure (figure 2) is below. Nothing shows up for Figure3.
>>> <image.png>
>>> Note that I don't have this figure problem with smaller numbers of ROIs. I get the correlation matrix as expected.
>>> 
>>> 
>>> Finally: I have a general question about the way the FWE is being calculated. Typically you just divide your p-value by the number of comparisons. However, it looks as though this isn't what's being done when I compare the "best p-values" that are output for the nets_glm function. Can you elaborate a bit on this?
>>> 
>>> 
>>> Thanks for your help
>>> Paul
>>> 
>>> 
>>> 
>>> On Fri, Mar 21, 2014 at 12:00 AM, Stephen Smith <[log in to unmask]> wrote:
>>> Hi
>>> 
>>> In general FSLNets will not allow different run lengths.  This is primarily because at this point the software isn't setup to handle that, but more conceptually one should not in general be trying to do quantitative comparisons when you have such different run lengths anyway.
>>> 
>>> However - if what you have is different numbers of runs for different subjects, that is easier to handle....just load in all the different runs as different files, and then you can deal with the varying numbers of runs in different subjects at the multi-subject stats stage - although if it was me I would probably avoid that complication and just dump that subject.
>>> 
>>> Cheers, Steve.
>>> 
>>> 
>>> 
>>> On 20 Mar 2014, at 18:47, Paul Beach <[log in to unmask]> wrote:
>>> 
>>>> FSL folks,
>>>> 
>>>> I'm trying to use the new version of FSLnets (released last week, I believe) and I'm getting an error that wasn't occurring previously. 
>>>> 
>>>> "Error: not all subjects have the same number of timepoints!
>>>> ??? index exceeds matrix dimensions
>>>> 
>>>> Error in ==> nets_spectra at 32..."
>>>> 
>>>> This is likely referring to the fact that one of my subjects only had one resting state scan whereas everyone else had two. How do I correct for this error without simply dumping a whole subject?
>>>> 
>>>> Thanks
>>>> -- 
>>>> Paul Beach
>>>> DO/PhD candidate - Year VI
>>>> Michigan State University
>>>> - College of Osteopathic Medicine
>>>> - Neuroscience Program
>>>>    - Bozoki Lab: Neurology/Radiology
>>> 
>>> 
>>> ---------------------------------------------------------------------------
>>> Stephen M. Smith, Professor of Biomedical Engineering
>>> Associate Director,  Oxford University FMRIB Centre
>>> 
>>> FMRIB, JR Hospital, Headington, Oxford  OX3 9DU, UK
>>> +44 (0) 1865 222726  (fax 222717)
>>> [log in to unmask]    http://www.fmrib.ox.ac.uk/~steve
>>> ---------------------------------------------------------------------------
>>> 
>>> Stop the cultural destruction of Tibet
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> Paul Beach
>>> DO/PhD candidate - Year VI
>>> Michigan State University
>>> - College of Osteopathic Medicine
>>> - Neuroscience Program
>>>    - Bozoki Lab: Neurology/Radiology
>>> 
>>> 
>>> 
>>> -- 
>>> Paul Beach
>>> DO/PhD candidate - Year VI
>>> Michigan State University
>>> - College of Osteopathic Medicine
>>> - Neuroscience Program
>>>    - Bozoki Lab: Neurology/Radiology
>> 
>> 
>> ---------------------------------------------------------------------------
>> Stephen M. Smith, Professor of Biomedical Engineering
>> Associate Director,  Oxford University FMRIB Centre
>> 
>> FMRIB, JR Hospital, Headington, Oxford  OX3 9DU, UK
>> +44 (0) 1865 222726  (fax 222717)
>> [log in to unmask]    http://www.fmrib.ox.ac.uk/~steve
>> ---------------------------------------------------------------------------
>> 
>> Stop the cultural destruction of Tibet
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> -- 
>> Paul Beach
>> DO/PhD candidate - Year VI
>> Michigan State University
>> - College of Osteopathic Medicine
>> - Neuroscience Program
>>    - Bozoki Lab: Neurology/Radiology
> 
> 
> ---------------------------------------------------------------------------
> Stephen M. Smith, Professor of Biomedical Engineering
> Associate Director,  Oxford University FMRIB Centre
> 
> FMRIB, JR Hospital, Headington, Oxford  OX3 9DU, UK
> +44 (0) 1865 222726  (fax 222717)
> [log in to unmask]    http://www.fmrib.ox.ac.uk/~steve
> ---------------------------------------------------------------------------
> 
> Stop the cultural destruction of Tibet
> 
> 
> 
> 


---------------------------------------------------------------------------
Stephen M. Smith, Professor of Biomedical Engineering
Associate Director,  Oxford University FMRIB Centre

FMRIB, JR Hospital, Headington, Oxford  OX3 9DU, UK
+44 (0) 1865 222726  (fax 222717)
[log in to unmask]    http://www.fmrib.ox.ac.uk/~steve
---------------------------------------------------------------------------

Stop the cultural destruction of Tibet

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