Back to PLS Help

pls on processed data
Veda
Posted on 02/07/16 08:55:33
Number of posts: 4
Veda posts:

Dear PLS experts,

I applied PLS on processed fMRI data from AFNI.

I went to "session profile for block fMRI data" and specified two conditions V and A,  relative Ref. scan onset as 0 and 1 respectively, and number of reference scans as 1 and 1.

In "datamat matrix, I entered two *.img files of processed beta images for each of two conditions. So, the column appeared as "sub1_V.img sub1_A.img". Finally, I specified the onsets as 0 for V and 1 for A and lengths as 1 for both V and A condition. This is where the error occurred and it said "All onsets filed must be filled out". Could anyone helped me out with the appropriate way to set up the parameter for processed image data. Thanks!

Sincerely,

Veda

Replies:

Untitled Post
rmcintosh
Posted on 02/08/16 07:41:35
Number of posts: 394
rmcintosh replies:

quote:

Dear PLS experts,

I applied PLS on processed fMRI data from AFNI.

I went to "session profile for block fMRI data" and specified two conditions V and A,  relative Ref. scan onset as 0 and 1 respectively, and number of reference scans as 1 and 1.

In "datamat matrix, I entered two *.img files of processed beta images for each of two conditions. So, the column appeared as "sub1_V.img sub1_A.img". Finally, I specified the onsets as 0 for V and 1 for A and lengths as 1 for both V and A condition. This is where the error occurred and it said "All onsets filed must be filled out". Could anyone helped me out with the appropriate way to set up the parameter for processed image data. Thanks!

Sincerely,

Veda

Hi Veda - I am a bit confused on how you moved the data from AFNI into PLS.  You indicated a block design but it seems  you fit an HRF to the data in AFNI and export the beta-images to PLS?  PLS can work with the time series images rather than beta, so you don't need to do the HRF fit.  All you need to specify for block PLS is the block onset and number of TRs/block.  The code does the rest



Untitled Post
Veda
Posted on 02/08/16 07:52:11
Number of posts: 4
Veda replies:

Hi Randy,

Thank you for the reply.

I also tried to feed the time series (360 scans) and specified the onsets and lengths as follows:

condition A / onsets: 0; length:180

condition B / onsets:180; length:180

It still gave me the same error "all the onsets field must be filled out". But, I already did it, didn't I?

Veda

 



Untitled Post
rmcintosh
Posted on 02/08/16 07:55:47
Number of posts: 394
rmcintosh replies:

try 1 and 181 for the onsets rather than 0 and 180



Untitled Post
Veda
Posted on 02/08/16 08:02:43
Number of posts: 4
Veda replies:

It did not work either but I am pretty sure the file has 360 scans.

Should I provide any other information or send my file to you?

 



Untitled Post
Veda
Posted on 02/08/16 08:10:11
Number of posts: 4
Veda replies:

BTW, this problem only occurred when I specified two conditions.

If I only specified one condition and set the onsets as 0 (or 1) and length as 180. That worked. However, I do need more than one condition.



Untitled Post
rmcintosh
Posted on 02/08/16 08:48:09
Number of posts: 394
rmcintosh replies:

quote:

BTW, this problem only occurred when I specified two conditions.

If I only specified one condition and set the onsets as 0 (or 1) and length as 180. That worked. However, I do need more than one condition.

can you send a screenshot of what you are entering into the GUI?  I am not sure why the error is coming up.  Also, perhaps you can double-check the NIFIT file for a subject that there are indeed 360 volumes

 

send the screenshot to my email:  rmcintosh@research.baycrest.org



Untitled Post

I'm Online
nlobaugh
Posted on 02/08/16 11:02:00
Number of posts: 229
nlobaugh replies:

Hi Veda..

it looks like you are using 4D nii files from AFNI..

Please run the "expand_nii_scan" script to put each subject's data into a new directory as single nii files..

 

nancy




Login to reply to this topic.

  • Keep in touch

Enter your email above to receive electronic messages from Baycrest, including invitations to programs and events, newsletters, updates and other communications.
You can unsubscribe at any time.
Please refer to our Privacy Policy or contact us for more details.

  • Follow us on social
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube

Contact Us:

3560 Bathurst Street
Toronto, Ontario
Canada M6A 2E1
Phone: (416) 785-2500

Baycrest is an academic health sciences centre fully affiliated with the University of Toronto