Hi Jamila,
for randomise, you need to enter a 4D image as an input(with as many "timepoints" as in your design.mat), so in your case, the 4D higher-level filtered_func... I would also recommend using a mask for running the statistics (see the manual: http://www.fmrib.ox.ac.uk/fsl/randomise/index.html).
Cheers,
Gwenaelle
> I used the randomise option as below:
>
> randomise -i cope3.feat/stats/tstat2.nii.gz -o
> t2_clustere_corr2 -d design.mat -t design.con -c 3
> I had the following error message. Here below my design.mat
> and the infos on the tstat image.
>
> Loading Data:
> Data loaded
> ERROR: Program failed
> An exception has been thrown
> Logic error:- detected by Newmat: incompatible dimensions
> MatrixType = Rect # Rows = 14; # Cols =
> 14
> MatrixType = Rect # Rows = 1; # Cols =
> 135197
> Trace: MatrixMult.
> Exiting"
> Could you please explain me what I have done wrong?
>
>
> design.mat:
>
> /NumWaves 2
> /NumPoints 14
> /PPheights
> 1.000000e+00 1.000000e+00
>
> /Matrix
> 1.000000e+00
> 0.000000e+00
> 1.000000e+00
> 0.000000e+00
> 1.000000e+00
> 0.000000e+00
> 1.000000e+00
> 0.000000e+00
> 1.000000e+00
> 0.000000e+00
> 1.000000e+00
> 0.000000e+00
> 1.000000e+00
> 0.000000e+00
> 0.000000e+00
> 1.000000e+00
> 0.000000e+00
> 1.000000e+00
> 0.000000e+00
> 1.000000e+00
> 0.000000e+00
> 1.000000e+00
> 0.000000e+00
> 1.000000e+00
> 0.000000e+00
> 1.000000e+00
> 0.000000e+00 1.000000e+00
>
>
>
> fslinfo tstat2.nii.gz:
>
> data_type FLOAT32
> dim1 91
> dim2 109
> dim3 91
> dim4 1
> datatype 16
> pixdim1 2.0000000000
> pixdim2 2.0000000000
> pixdim3 2.0000000000
> pixdim4 1.0000000000
> cal_max 0.0000
> cal_min 0.0000
> file_type NIFTI-1+
>
>
> Best regards,
> J.A.
--------------------------------------------------------------------
Gwenaëlle Douaud, PhD
FMRIB Centre, University of Oxford
John Radcliffe Hospital, Headington OX3 9DU Oxford UK
Tel: +44 (0) 1865 222 523 Fax: +44 (0) 1865 222 717
www.fmrib.ox.ac.uk/~douaud
--------------------------------------------------------------------
|