quote:
Hi Kambiz:
I looked at your questions. Here are my personal thoughts, and I wish that you could find something useful.
(1) how do I format the data given there is no sensor or sensor locations?
Answer: In most case, we fold data into a row vector per subject per condition, and then stack them into datamat. I think that you can still do so.
(2) Is this analysis possible in PLSgui, or should I be using the command line version?
Answer: For data that are not regular PET, fMRI or ERP, we usually suggest to use command line PLS, which is a lot more flexible. However, the disadvantage is that you have to plot the results by yourself.
For your situation. I am not sure that whether you could try PET module in PLSgui. I have just tested that it works for 2D brain voxel image. If you consider your 2D data as a brain image, the PET result will show the corresponding activation map.
If you would like to try this, here are the steps that you can follow:
- nii = make_nii(your_2D_matrix_for_subj1_cond1);
- save_nii(nii, 'subj1_cond1.img');
- repeat 1&2 for all your subjects and conditions;
- create N folders for your N subjects, and each folder contain K condition .img/.hdr files;
- Run PET PLSgui on those subjects.
Otherwise, you can always fold your 2D matrix into a row vector per subject per condition, and stack them into datamat, and then use command line PLS to do the analysis.
Jimmy
Jimmy - thanks for the response. I am still not sure I understand what you mean by fold data into a row vector per subject per condition, and then stack them into datamat; e.g., lets stay with the 2x2x2 design meaning evaluating 8 conditions, but reduce the data to 2 time points. frequency bins & subjects for the sake of clarification. In this example then datmat _lst is
[Ss1_cond1_sample1_fq1 Ss1_cond1_sample2_fq2 Ss1_cond2_sample1_fq1 Ss1_cond2_sample2_fq2 ... Ss1_cond8_sample1_fq1 Ss1_cond8_sample2_fq2;
Ss2_cond1_sample1_fq1 Ss2_cond1_sample2_fq2 Ss1_cond2_sample1_fq1
Ss2_cond2_sample2_fq2 ... Ss2_cond8_sample1_fq1 Ss2_cond8_sample2_fq2]
Or is everything on one (very, very) long row? Also, presumably 'num_subj_lst' is a [10] for N in a single group study and 'num_cond' is 8? or 2? or 3? I have three fixed factors LEXICALITY (2), FREQUENCY (2) and HEMISPHERE (2).
Kambiz