Difference between revisions of "Tech Reports"

From SpanLabWiki
Jump to: navigation, search
(Comparison)
m (Protected "Tech Reports" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Timecourse methods==
 
==Timecourse methods==
  
Sometime around 2007 the lab switched from using raw averages to compute timecourses to using the "-resp" flag in afni's 3dDeconvolve command to create timecouses. To insure that the methods are compatible we directly compared the output from each method on a set 53 of healthy subjects who's age ranged form 20-80 on the MID task.   
+
Sometime around June 2007 the lab switched from using raw averages to compute timecourses to using the "-iresp" flag in afni's 3dDeconvolve command to create timecouses. To insure that the methods are compatible we directly compared the output from each method on a set of 53 healthy subjects who's age ranged form 20-80 on the MID task.  (If you're looking for information on how to use iresp to make timecourses look [[Lab Manual: Data Analysis Part II|here in the lab manual]] under "How to  run IRESP").
  
 
===Iresp method===
 
===Iresp method===
  
The best information about computing timecourses in general and how the iresp method can be found on the gablab site at MIT: http://mindhive.mit.edu/node/86
+
The best information about computing timecourses in general and how the iresp method works can be found on the gablab site at MIT: http://mindhive.mit.edu/node/86
  
Here is a little info on the method taken form that site:
+
Here is a little info on the method taken from that site:
  
 
"The [Finite Impulse Response] FIR model is a modification of the standard GLM which is designed precisely to deconvolve different conditions' peristimulus timecourses from each other. The main modification from the standard GLM is that instead of having one column for each effect, you have as many columns as you want timepoints in your peristimulus timecourse. If you want a 30-second timecourse and have a 3-second TR, you'd have 10 columns for each condition. Instead of having a single model of activity over time in one column, such as a boxcar convolved with a canonical HRF, or a canonical HRF by itself, each column represents one timepoint in the peristimulus timecourse. So the first column for each condition codes for the onset of each trial; it has a single 1 at each TR that condition has a trial onset, and zeros elsewhere. The second column for each condition codes for the onset + 1 point for each trial; it has a single 1 at each TR that's right after a trial onset, and zeros elsewhere. The third column codes in the same way for the onset + 2 timepoint for each trial; it has a single 1 at each TR that's two after a trial onset, and zeros elsewhere. Each column is filled out appropriately in the same fashion.
 
"The [Finite Impulse Response] FIR model is a modification of the standard GLM which is designed precisely to deconvolve different conditions' peristimulus timecourses from each other. The main modification from the standard GLM is that instead of having one column for each effect, you have as many columns as you want timepoints in your peristimulus timecourse. If you want a 30-second timecourse and have a 3-second TR, you'd have 10 columns for each condition. Instead of having a single model of activity over time in one column, such as a boxcar convolved with a canonical HRF, or a canonical HRF by itself, each column represents one timepoint in the peristimulus timecourse. So the first column for each condition codes for the onset of each trial; it has a single 1 at each TR that condition has a trial onset, and zeros elsewhere. The second column for each condition codes for the onset + 1 point for each trial; it has a single 1 at each TR that's right after a trial onset, and zeros elsewhere. The third column codes in the same way for the onset + 2 timepoint for each trial; it has a single 1 at each TR that's two after a trial onset, and zeros elsewhere. Each column is filled out appropriately in the same fashion.
Line 15: Line 15:
 
===Raw Average Method===
 
===Raw Average Method===
  
The Raw average method of building a timecouse is simply to dump out the raw data form the complete experiment (after preprocessing and converting to % signal change) and take an average over all of a particular trial type.  For example if you want to look at $5.00 gain trials and the subject had 15 of these trials over the experiment, you would pull out each of these 15 trials from the beginning TR to the end TR (or past the end) for each trial and average them together at each TR.
+
The Raw average method of building a timecouse is simply to dump out the raw data from the complete experiment (after preprocessing and converting to % signal change) and take an average over all of a particular trial type.  For example if you want to look at $5.00 gain trials and the subject had 15 of these trials over the experiment, you would pull out each of these 15 trials from the beginning TR to the end TR (or past the end) for each trial and average them together at each TR.
  
 
While the iresp method can easily incorporate motion correction in the model, the raw averaging method does not necessarily include motion correction.
 
While the iresp method can easily incorporate motion correction in the model, the raw averaging method does not necessarily include motion correction.
  
 
===Comparison===
 
===Comparison===
 +
 +
Over all it looks like the two methods produce nearly identical results even when the number of subjects is low (which is good news for our data consistency!).  However, there may be slight differences on an individual subject level.  For example in the gain $0 trials for subject #2.
  
 
[[Image:Comp_n53.jpg]] [[Image:Comp_n10.jpg]]
 
[[Image:Comp_n53.jpg]] [[Image:Comp_n10.jpg]]
 
[[Image:Comp_n1.jpg]]
 
[[Image:Comp_n1.jpg]]
 +
 +
==Physiological Corrections==
 +
Stephanie Greer 3/19/09
 +
 +
===Procedure===
 +
<p>
 +
MID Task subjects: 4 healthy controls used in the smoke-mid study.<br>
 +
Affective Picture Task subjects: 4 healthy controls used in the neurofeedback study.
 +
</p>
 +
<p>I processed one set of data using the regular preprocessing method and used 3 different techniques for correcting for physiological signals:
 +
<ul>
 +
<li><b>Regular (reg)</b> (No Correction)</li>
 +
<li><b>rvhrcor (rvhr)</b>: see [[Media:rvhrcor.pdf | Chang, Cunningham & Glover Neuroimage 2009]]
 +
<ul>
 +
<li>Preprocessing: Performs a very slight (almost unnoticeable) correction.</li>
 +
<li>GLM: Creates convolved Heart rate (HR) and respiratory volume (RV) regressors.</li>
 +
</ul></li>
 +
<li><b>retroicor (ret)</b>: see [[Media:retroicor.pdf | Glover, Li and Ress MR in Medicine 2000]]
 +
<ul>
 +
<li>Preprocessing: Performs a fairly drastic correction.</li>
 +
<li>GLM: Does not use any extra regressors</li>
 +
</ul></li>
 +
<li><b>global signal regressor (glob)</b>
 +
<ul>
 +
<li>Preprocessing: No correction</li>
 +
<li>GLM: Includes an extra regressor that consists of an average over the entire grey mater.</li>
 +
</ul></li>
 +
</ul>
 +
</p>
 +
 +
===Summary===
 +
<p>It looks like we do pretty well using no correction for physiological confounds in terms of identifying activation that is consistently related to gain anticipation in the MID task.  However, incorporating the physiology regressors given by rvhrcor seems to reduce noise and reduces the number of significant voxels that are not reliably related to gain anticipation in the MID Task.  The Global regressor does next to nothing.</p>
 +
 +
<p>Retroicor did not work at all in this data set.  Using retroicor eliminated significant voxels in our regions of interest and increased noise (i.e. standard deviation) in the time courses. One thing to note about this is that the original paper uses single shot spiral scans rather than a spiral in and spiral out sequence.  Since retroicor is essentially a timing correction it might not work right with the in/out sequence (surely Gary would know if this is true).</p>
 +
 +
===Gain Anticipation Maps===
 +
<p>Data was thresholded at z = 2.282 (p < .025) due to low n</p>
 +
 +
<b>Regular</b><br>
 +
[[Image:reg_antGain.png]]<br>
 +
<b>rvhrcor</b><br>
 +
[[Image:rvhr_antGain.png]]<br>
 +
<b>Global</b><br>
 +
[[Image:glob_antGain.png]]<br>
 +
<b>retroicor</b><br>
 +
[[Image:ret_antGain.png]]<br>
 +
 +
<table border=1>
 +
<tr>
 +
<td><b>Regular</b></td>
 +
<td><b>rvhrcor</b></td>
 +
<td><b>Global</b></td>
 +
<td><b>retroicor</b></td>
 +
</tr>
 +
<tr>
 +
<td>
 +
<table>
 +
<tr>
 +
<td><font size=1>Afni Region Name (z score)</font></td>
 +
<td><font size=1><center>X</center></font></td>
 +
<td><font size=1><center>Y</center></font></td>
 +
<td><font size=1><center>Z</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>No Region Found ( 3.67) </font></td>
 +
<td><font size=1><center> 60</center></font></td>
 +
<td><font size=1><center> -56</center></font></td>
 +
<td><font size=1><center> 16</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>No Region Found ( -3.162) </font></td>
 +
<td><font size=1><center> -71</center></font></td>
 +
<td><font size=1><center> -41</center></font></td>
 +
<td><font size=1><center> -11</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Middle Frontal Gyrus ( 2.948) </font></td>
 +
<td><font size=1><center> -30</center></font></td>
 +
<td><font size=1><center> -38</center></font></td>
 +
<td><font size=1><center> 16</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Caudate ( 4.001) </font></td>
 +
<td><font size=1><center> 11</center></font></td>
 +
<td><font size=1><center> -15</center></font></td>
 +
<td><font size=1><center> -3</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Caudate Head ( 3.212) </font></td>
 +
<td><font size=1><center> -4</center></font></td>
 +
<td><font size=1><center> -15</center></font></td>
 +
<td><font size=1><center> 1</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Lentiform Nucleus ( 3.639) </font></td>
 +
<td><font size=1><center> -19</center></font></td>
 +
<td><font size=1><center> -15</center></font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Insula ( 3.133) </font></td>
 +
<td><font size=1><center> -38</center></font></td>
 +
<td><font size=1><center> -11</center></font></td>
 +
<td><font size=1><center> 19</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Caudate ( 2.909) </font></td>
 +
<td><font size=1><center> 8</center></font></td>
 +
<td><font size=1><center> -11</center></font></td>
 +
<td><font size=1><center> 1</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Lentiform Nucleus ( 3.331) </font></td>
 +
<td><font size=1><center> -11</center></font></td>
 +
<td><font size=1><center> -8</center></font></td>
 +
<td><font size=1><center> -3</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Claustrum ( 4.001) </font></td>
 +
<td><font size=1><center> -30</center></font></td>
 +
<td><font size=1><center> -8</center></font></td>
 +
<td><font size=1><center> -3</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Putamen ( 3.651) </font></td>
 +
<td><font size=1><center> 22</center></font></td>
 +
<td><font size=1><center> -4</center></font></td>
 +
<td><font size=1><center> 19</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Thalamus ( 3.448) </font></td>
 +
<td><font size=1><center> -4</center></font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Thalamus ( 2.974) </font></td>
 +
<td><font size=1><center> 11</center></font></td>
 +
<td><font size=1><center> 8</center></font></td>
 +
<td><font size=1><center> 12</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Thalamus ( 3.551) </font></td>
 +
<td><font size=1><center> -19</center></font></td>
 +
<td><font size=1><center> 11</center></font></td>
 +
<td><font size=1><center> 16</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Anterior Nucleus ( 2.653) </font></td>
 +
<td><font size=1><center> -8</center></font></td>
 +
<td><font size=1><center> 11</center></font></td>
 +
<td><font size=1><center> 19</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Thalamus ( 3.332) </font></td>
 +
<td><font size=1><center> -11</center></font></td>
 +
<td><font size=1><center> 19</center></font></td>
 +
<td><font size=1><center> 12</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Precentral Gyrus ( 3.205) </font></td>
 +
<td><font size=1><center> 38</center></font></td>
 +
<td><font size=1><center> 19</center></font></td>
 +
<td><font size=1><center> 57</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Caudate ( 3.087) </font></td>
 +
<td><font size=1><center> 34</center></font></td>
 +
<td><font size=1><center> 26</center></font></td>
 +
<td><font size=1><center> -7</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Precuneus ( 3.252) </font></td>
 +
<td><font size=1><center> 15</center></font></td>
 +
<td><font size=1><center> 52</center></font></td>
 +
<td><font size=1><center> 53</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Posterior Cingulate ( 3.211) </font></td>
 +
<td><font size=1><center> 26</center></font></td>
 +
<td><font size=1><center> 68</center></font></td>
 +
<td><font size=1><center> 12</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Cuneus ( 2.833) </font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
<td><font size=1><center> 79</center></font></td>
 +
<td><font size=1><center> 27</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Cuneus ( 3.621) </font></td>
 +
<td><font size=1><center> 19</center></font></td>
 +
<td><font size=1><center> 82</center></font></td>
 +
<td><font size=1><center> 27</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Cuneus ( 3.425) </font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
<td><font size=1><center> 90</center></font></td>
 +
<td><font size=1><center> 16</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>No Region Found ( -3.624) </font></td>
 +
<td><font size=1><center> 30</center></font></td>
 +
<td><font size=1><center> 105</center></font></td>
 +
<td><font size=1><center> 38</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>No Region Found ( 2.874) </font></td>
 +
<td><font size=1><center> 15</center></font></td>
 +
<td><font size=1><center> 109</center></font></td>
 +
<td><font size=1><center> 31</center></font></td>
 +
</tr>
 +
</table>
 +
</td>
 +
<td valign=top>
 +
<table>
 +
<tr>
 +
<td><font size=1>Afni Region Name (z score)</font></td>
 +
<td><font size=1><center>X</center></font></td>
 +
<td><font size=1><center>Y</center></font></td>
 +
<td><font size=1><center>Z</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>No Region Found ( -2.936) </font></td>
 +
<td><font size=1><center> -71</center></font></td>
 +
<td><font size=1><center> -41</center></font></td>
 +
<td><font size=1><center> -14</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Caudate ( 3.376) </font></td>
 +
<td><font size=1><center> -4</center></font></td>
 +
<td><font size=1><center> -19</center></font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Caudate ( 3.312) </font></td>
 +
<td><font size=1><center> 11</center></font></td>
 +
<td><font size=1><center> -15</center></font></td>
 +
<td><font size=1><center> 1</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Middle Frontal Gyrus ( 3.312) </font></td>
 +
<td><font size=1><center> -34</center></font></td>
 +
<td><font size=1><center> -15</center></font></td>
 +
<td><font size=1><center> 23</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Caudate ( 2.988) </font></td>
 +
<td><font size=1><center> -15</center></font></td>
 +
<td><font size=1><center> -15</center></font></td>
 +
<td><font size=1><center> 1</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Lentiform Nucleus ( 3.323) </font></td>
 +
<td><font size=1><center> 19</center></font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
<td><font size=1><center> -7</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Thalamus ( 3.718) </font></td>
 +
<td><font size=1><center> -4</center></font></td>
 +
<td><font size=1><center> 8</center></font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Superior Temporal Gyrus ( -3.123) </font></td>
 +
<td><font size=1><center> -60</center></font></td>
 +
<td><font size=1><center> 34</center></font></td>
 +
<td><font size=1><center> 8</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Cuneus ( 3.072) </font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
<td><font size=1><center> 82</center></font></td>
 +
<td><font size=1><center> 27</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>No Region Found ( -3.528) </font></td>
 +
<td><font size=1><center> 30</center></font></td>
 +
<td><font size=1><center> 105</center></font></td>
 +
<td><font size=1><center> 38</center></font></td>
 +
</tr>
 +
</table>
 +
 +
</td>
 +
<td valign=top>
 +
<table>
 +
<tr>
 +
<td><font size=1>Afni Region Name (z score)</font></td>
 +
<td><font size=1><center>X</center></font></td>
 +
<td><font size=1><center>Y</center></font></td>
 +
<td><font size=1><center>Z</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>No Region Found ( 3.844) </font></td>
 +
<td><font size=1><center> 60</center></font></td>
 +
<td><font size=1><center> -56</center></font></td>
 +
<td><font size=1><center> 16</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Caudate ( 4.001) </font></td>
 +
<td><font size=1><center> 11</center></font></td>
 +
<td><font size=1><center> -15</center></font></td>
 +
<td><font size=1><center> -3</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Lentiform Nucleus ( 4.001) </font></td>
 +
<td><font size=1><center> -19</center></font></td>
 +
<td><font size=1><center> -15</center></font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Caudate ( 3.241) </font></td>
 +
<td><font size=1><center> -8</center></font></td>
 +
<td><font size=1><center> -11</center></font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Inferior Frontal Gyrus ( 3.155) </font></td>
 +
<td><font size=1><center> -38</center></font></td>
 +
<td><font size=1><center> -8</center></font></td>
 +
<td><font size=1><center> 23</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Lentiform Nucleus ( 3.231) </font></td>
 +
<td><font size=1><center> -11</center></font></td>
 +
<td><font size=1><center> -8</center></font></td>
 +
<td><font size=1><center> -3</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Insula ( 4.001) </font></td>
 +
<td><font size=1><center> -34</center></font></td>
 +
<td><font size=1><center> -8</center></font></td>
 +
<td><font size=1><center> -3</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Putamen ( 3.413) </font></td>
 +
<td><font size=1><center> 22</center></font></td>
 +
<td><font size=1><center> -4</center></font></td>
 +
<td><font size=1><center> 19</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Anterior Cingulate ( 3.009) </font></td>
 +
<td><font size=1><center> -4</center></font></td>
 +
<td><font size=1><center> 0</center></font></td>
 +
<td><font size=1><center> -3</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Thalamus ( 3.556) </font></td>
 +
<td><font size=1><center> -4</center></font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Lentiform Nucleus ( 3.281) </font></td>
 +
<td><font size=1><center> 19</center></font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
<td><font size=1><center> -7</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Thalamus ( 3.085) </font></td>
 +
<td><font size=1><center> 11</center></font></td>
 +
<td><font size=1><center> 8</center></font></td>
 +
<td><font size=1><center> 8</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Thalamus ( 4.001) </font></td>
 +
<td><font size=1><center> -19</center></font></td>
 +
<td><font size=1><center> 11</center></font></td>
 +
<td><font size=1><center> 16</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Precentral Gyrus ( 2.938) </font></td>
 +
<td><font size=1><center> 38</center></font></td>
 +
<td><font size=1><center> 19</center></font></td>
 +
<td><font size=1><center> 57</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Caudate ( 3.254) </font></td>
 +
<td><font size=1><center> 34</center></font></td>
 +
<td><font size=1><center> 26</center></font></td>
 +
<td><font size=1><center> -7</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Superior Temporal Gyrus ( -2.962) </font></td>
 +
<td><font size=1><center> -64</center></font></td>
 +
<td><font size=1><center> 34</center></font></td>
 +
<td><font size=1><center> 8</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Parahippocampal Gyrus ( 3.194) </font></td>
 +
<td><font size=1><center> 30</center></font></td>
 +
<td><font size=1><center> 49</center></font></td>
 +
<td><font size=1><center> 8</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Precuneus ( 3.216) </font></td>
 +
<td><font size=1><center> 15</center></font></td>
 +
<td><font size=1><center> 52</center></font></td>
 +
<td><font size=1><center> 53</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Cuneus ( 3.725) </font></td>
 +
<td><font size=1><center> 19</center></font></td>
 +
<td><font size=1><center> 82</center></font></td>
 +
<td><font size=1><center> 27</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Cuneus ( 3.328) </font></td>
 +
<td><font size=1><center> 4</center></font></td>
 +
<td><font size=1><center> 86</center></font></td>
 +
<td><font size=1><center> 16</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>No Region Found ( -3.59) </font></td>
 +
<td><font size=1><center> 30</center></font></td>
 +
<td><font size=1><center> 105</center></font></td>
 +
<td><font size=1><center> 38</center></font></td>
 +
</tr>
 +
</table>
 +
 +
</td>
 +
<td valign=top>
 +
<table>
 +
<tr>
 +
<td><font size=1>Afni Region Name (z score)</font></td>
 +
<td><font size=1><center>X</center></font></td>
 +
<td><font size=1><center>Y</center></font></td>
 +
<td><font size=1><center>Z</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Superior Temporal Gyrus ( 3.24) </font></td>
 +
<td><font size=1><center> 52</center></font></td>
 +
<td><font size=1><center> -11</center></font></td>
 +
<td><font size=1><center> -3</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Insula ( 3.093) </font></td>
 +
<td><font size=1><center> -38</center></font></td>
 +
<td><font size=1><center> -11</center></font></td>
 +
<td><font size=1><center> 16</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Cingulate Gyrus ( 3.093) </font></td>
 +
<td><font size=1><center> -22</center></font></td>
 +
<td><font size=1><center> -11</center></font></td>
 +
<td><font size=1><center> 27</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Lentiform Nucleus ( 2.945) </font></td>
 +
<td><font size=1><center> 15</center></font></td>
 +
<td><font size=1><center> 0</center></font></td>
 +
<td><font size=1><center> -7</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Right Lateral Globus Pallidus ( 3.093) </font></td>
 +
<td><font size=1><center> -19</center></font></td>
 +
<td><font size=1><center> 8</center></font></td>
 +
<td><font size=1><center> 12</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Insula ( 2.792) </font></td>
 +
<td><font size=1><center> 41</center></font></td>
 +
<td><font size=1><center> 11</center></font></td>
 +
<td><font size=1><center> 8</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Cuneus ( 3.309) </font></td>
 +
<td><font size=1><center> 22</center></font></td>
 +
<td><font size=1><center> 79</center></font></td>
 +
<td><font size=1><center> 23</center></font></td>
 +
</tr>
 +
<tr>
 +
<td><font size=1>Left Middle Occipital Gyrus ( 2.663) </font></td>
 +
<td><font size=1><center> 19</center></font></td>
 +
<td><font size=1><center> 98</center></font></td>
 +
<td><font size=1><center> 16</center></font></td>
 +
</tr>
 +
</table>
 +
 +
 +
</td>
 +
</tr>
 +
</table>
 +
 +
 +
<p>It's difficult to tell the differences between the regular, rvhrcor and global signal methods of preprocessing. However, judging from the tables, it looks like the rvhrcor method results in a somewhat less noisy map.  To test this I compared the number of voxels above threshold (z > 2.58 p < .01) that overlapped with a map taken form the MID task meta analysis for gain anticipation > loss anticipation (Knutson & Greer 2008). The idea is that any significant voxels inside the mask are "correct" and any outside the mask are "noise".  Here is the plot:</p>
 +
 +
[[Image:maskComp.jpg]]
 +
 +
<p>From this it looks like the regular, rvhrcor and global signal methods are similar in terms of identifying "correct" voxels but the rvhrcor results in substantially fewer "noise" voxels.  My intuition is that this effect might go away if there were many more subjects.</p>
 +
 +
===Timecourses===
 +
 +
<p>Since the rvhrcor and retroicor methods do some correction to the data before preprocessing, I compared the time courses for these methods.  Here's the data:</p>
 +
 +
[[Image:all_NaccGain.jpg]]<br>
 +
[[Image:individ_NaccGain.jpg]]
 +
 +
<p>Clearly the regular processing method and the rvhrcor method are pretty much identical.  Retroicor, however, looks more noisy and does something very bizarre to subject 2. To see how noisy it was, I compared the standard deviations of the first 200 TRs of subject 1 (shown below). Indeed retroicor is much noisier and rvhrcor is slightly less noisy than the regular method.</p>
 +
 +
[[Image:std_proc.jpg]]
 +
 +
<p>Since it looked like rvhrcor was effective in terms of getting rid of noise, but it also slightly reduced the significance of the "correct" voxels, I wanted to see what the relationship was between the physiological signals and the task.  To do this I made timecourses from the heart rate (HR) and respiratory volume (Resp) regressors.  I used both the raw data (Plain) and the data after it was convolved by rvhrcor. There was indeed an effect by condition (which fits with what rvhrcor is doing) but I don't know what to make of it.</p>
 +
 +
<table>
 +
<tr>
 +
<td>
 +
<b>Gain</b>
 +
</td>
 +
<td>
 +
<b>Loss</b>
 +
</td>
 +
</tr>
 +
<tr>
 +
<td>
 +
[[Image:hr_gain.jpg]]
 +
</td>
 +
<td>
 +
[[Image:hr_loss.jpg]]
 +
</td>
 +
<tr>
 +
<td>
 +
[[Image:rv_gain2.jpg]]
 +
</td>
 +
<td>
 +
[[Image:rv_loss.jpg]]
 +
</td>
 +
</tr>
 +
</table>
 +
 +
===Gain Outcome Maps===
 +
<p>Data was thresholded at z = 2.282 (p < .025) due to low n</p>
 +
 +
<b>Regular</b><br>
 +
[[Image:reg_outGain.png]]<br>
 +
<b>rvhrcor</b><br>
 +
[[Image:rvhr_outGain.png]]<br>
 +
<b>Global</b><br>
 +
[[Image:glob_outGain.png]]<br>
 +
<b>retroicor</b><br>
 +
[[Image:ret_outGain.png]]<br>
 +
 +
===Affective Picture Task===
 +
 +
<p>In this task subjects passively viewed affective pictures form the IAPS picture set.  They saw six "negative" pictures with high negative arousal scores and six "neutral" pictures with low negative arousal scores.  this task appeared to be effective in activating the amygdala although we were originally hoping to localize the insula with this task.</p>
 +
 +
 +
<table>
 +
<tr>
 +
<td>Regular</td>
 +
<td>rvhrcor</td>
 +
<td>Global</td>
 +
<td>retroicor</td>
 +
</tr>
 +
<tr>
 +
<td>[[Image:reg_NAhighpic_n19x5yn14z.jpg]]</td>
 +
<td>[[Image:rvhr_NAhighpic_n19x5yn14z.jpg]]</td>
 +
<td>[[Image:glob_NAhighpic_n19x5yn14z.jpg]]</td>
 +
<td>[[Image:ret_NAhighpic_n19x5yn14z.jpg]]</td>
 +
</tr>
 +
</table>
 +
 +
<b>Group Timecourses: Amygdala</b><br>
 +
[[Image:all_prc_tc.jpg]]<br>
 +
<b>Individual subject timecourses: Amygdala</b><br>
 +
[[Image:individ_prc_tc.jpg]]<br>
 +
<br>
 +
<b>Physiological timecourses</b><br>
 +
[[Image:hr_tc.jpg]]
 +
[[Image:rv_tc.jpg]]

Latest revision as of 23:13, 10 July 2023

Timecourse methods

Sometime around June 2007 the lab switched from using raw averages to compute timecourses to using the "-iresp" flag in afni's 3dDeconvolve command to create timecouses. To insure that the methods are compatible we directly compared the output from each method on a set of 53 healthy subjects who's age ranged form 20-80 on the MID task. (If you're looking for information on how to use iresp to make timecourses look here in the lab manual under "How to run IRESP").

Iresp method

The best information about computing timecourses in general and how the iresp method works can be found on the gablab site at MIT: http://mindhive.mit.edu/node/86

Here is a little info on the method taken from that site:

"The [Finite Impulse Response] FIR model is a modification of the standard GLM which is designed precisely to deconvolve different conditions' peristimulus timecourses from each other. The main modification from the standard GLM is that instead of having one column for each effect, you have as many columns as you want timepoints in your peristimulus timecourse. If you want a 30-second timecourse and have a 3-second TR, you'd have 10 columns for each condition. Instead of having a single model of activity over time in one column, such as a boxcar convolved with a canonical HRF, or a canonical HRF by itself, each column represents one timepoint in the peristimulus timecourse. So the first column for each condition codes for the onset of each trial; it has a single 1 at each TR that condition has a trial onset, and zeros elsewhere. The second column for each condition codes for the onset + 1 point for each trial; it has a single 1 at each TR that's right after a trial onset, and zeros elsewhere. The third column codes in the same way for the onset + 2 timepoint for each trial; it has a single 1 at each TR that's two after a trial onset, and zeros elsewhere. Each column is filled out appropriately in the same fashion.

With this very wide design matrix, one then runs a standard GLM in the multiple regression style. Given enough timepoints and a properly randomized design, the design matrix then assigns beta weights to each column in the standard way - but these beta weights each represent activity at a certain temporal point following a trial onset. So for each condition, the first column tells you the effect size at the onset of a trial, the second column tells you the effect size one TR after the onset, the third columns tells you the effect size two TRs after the onset, and so on. This clearly translates directly into a peristimulus timecourse - simply plot each column's beta weight against time for a given condition, and voila! A nice-looking timecourse."

Raw Average Method

The Raw average method of building a timecouse is simply to dump out the raw data from the complete experiment (after preprocessing and converting to % signal change) and take an average over all of a particular trial type. For example if you want to look at $5.00 gain trials and the subject had 15 of these trials over the experiment, you would pull out each of these 15 trials from the beginning TR to the end TR (or past the end) for each trial and average them together at each TR.

While the iresp method can easily incorporate motion correction in the model, the raw averaging method does not necessarily include motion correction.

Comparison

Over all it looks like the two methods produce nearly identical results even when the number of subjects is low (which is good news for our data consistency!). However, there may be slight differences on an individual subject level. For example in the gain $0 trials for subject #2.

Comp n53.jpg Comp n10.jpg Comp n1.jpg

Physiological Corrections

Stephanie Greer 3/19/09

Procedure

MID Task subjects: 4 healthy controls used in the smoke-mid study.
Affective Picture Task subjects: 4 healthy controls used in the neurofeedback study.

I processed one set of data using the regular preprocessing method and used 3 different techniques for correcting for physiological signals:

  • Regular (reg) (No Correction)
  • rvhrcor (rvhr): see Chang, Cunningham & Glover Neuroimage 2009
    • Preprocessing: Performs a very slight (almost unnoticeable) correction.
    • GLM: Creates convolved Heart rate (HR) and respiratory volume (RV) regressors.
  • retroicor (ret): see Glover, Li and Ress MR in Medicine 2000
    • Preprocessing: Performs a fairly drastic correction.
    • GLM: Does not use any extra regressors
  • global signal regressor (glob)
    • Preprocessing: No correction
    • GLM: Includes an extra regressor that consists of an average over the entire grey mater.

Summary

It looks like we do pretty well using no correction for physiological confounds in terms of identifying activation that is consistently related to gain anticipation in the MID task. However, incorporating the physiology regressors given by rvhrcor seems to reduce noise and reduces the number of significant voxels that are not reliably related to gain anticipation in the MID Task. The Global regressor does next to nothing.

Retroicor did not work at all in this data set. Using retroicor eliminated significant voxels in our regions of interest and increased noise (i.e. standard deviation) in the time courses. One thing to note about this is that the original paper uses single shot spiral scans rather than a spiral in and spiral out sequence. Since retroicor is essentially a timing correction it might not work right with the in/out sequence (surely Gary would know if this is true).

Gain Anticipation Maps

Data was thresholded at z = 2.282 (p < .025) due to low n

Regular
Reg antGain.png
rvhrcor
Rvhr antGain.png
Global
Glob antGain.png
retroicor
Ret antGain.png

Regular rvhrcor Global retroicor
Afni Region Name (z score)
X
Y
Z
No Region Found ( 3.67)
60
-56
16
No Region Found ( -3.162)
-71
-41
-11
Right Middle Frontal Gyrus ( 2.948)
-30
-38
16
Left Caudate ( 4.001)
11
-15
-3
Right Caudate Head ( 3.212)
-4
-15
1
Right Lentiform Nucleus ( 3.639)
-19
-15
4
Right Insula ( 3.133)
-38
-11
19
Left Caudate ( 2.909)
8
-11
1
Right Lentiform Nucleus ( 3.331)
-11
-8
-3
Right Claustrum ( 4.001)
-30
-8
-3
Left Putamen ( 3.651)
22
-4
19
Right Thalamus ( 3.448)
-4
4
4
Left Thalamus ( 2.974)
11
8
12
Right Thalamus ( 3.551)
-19
11
16
Right Anterior Nucleus ( 2.653)
-8
11
19
Right Thalamus ( 3.332)
-11
19
12
Left Precentral Gyrus ( 3.205)
38
19
57
Left Caudate ( 3.087)
34
26
-7
Left Precuneus ( 3.252)
15
52
53
Left Posterior Cingulate ( 3.211)
26
68
12
Left Cuneus ( 2.833)
4
79
27
Left Cuneus ( 3.621)
19
82
27
Left Cuneus ( 3.425)
4
90
16
No Region Found ( -3.624)
30
105
38
No Region Found ( 2.874)
15
109
31
Afni Region Name (z score)
X
Y
Z
No Region Found ( -2.936)
-71
-41
-14
Right Caudate ( 3.376)
-4
-19
4
Left Caudate ( 3.312)
11
-15
1
Right Middle Frontal Gyrus ( 3.312)
-34
-15
23
Right Caudate ( 2.988)
-15
-15
1
Left Lentiform Nucleus ( 3.323)
19
4
-7
Right Thalamus ( 3.718)
-4
8
4
Right Superior Temporal Gyrus ( -3.123)
-60
34
8
Left Cuneus ( 3.072)
4
82
27
No Region Found ( -3.528)
30
105
38
Afni Region Name (z score)
X
Y
Z
No Region Found ( 3.844)
60
-56
16
Left Caudate ( 4.001)
11
-15
-3
Right Lentiform Nucleus ( 4.001)
-19
-15
4
Right Caudate ( 3.241)
-8
-11
4
Right Inferior Frontal Gyrus ( 3.155)
-38
-8
23
Right Lentiform Nucleus ( 3.231)
-11
-8
-3
Right Insula ( 4.001)
-34
-8
-3
Left Putamen ( 3.413)
22
-4
19
Right Anterior Cingulate ( 3.009)
-4
0
-3
Right Thalamus ( 3.556)
-4
4
4
Left Lentiform Nucleus ( 3.281)
19
4
-7
Left Thalamus ( 3.085)
11
8
8
Right Thalamus ( 4.001)
-19
11
16
Left Precentral Gyrus ( 2.938)
38
19
57
Left Caudate ( 3.254)
34
26
-7
Right Superior Temporal Gyrus ( -2.962)
-64
34
8
Left Parahippocampal Gyrus ( 3.194)
30
49
8
Left Precuneus ( 3.216)
15
52
53
Left Cuneus ( 3.725)
19
82
27
Left Cuneus ( 3.328)
4
86
16
No Region Found ( -3.59)
30
105
38
Afni Region Name (z score)
X
Y
Z
Left Superior Temporal Gyrus ( 3.24)
52
-11
-3
Right Insula ( 3.093)
-38
-11
16
Right Cingulate Gyrus ( 3.093)
-22
-11
27
Left Lentiform Nucleus ( 2.945)
15
0
-7
Right Lateral Globus Pallidus ( 3.093)
-19
8
12
Left Insula ( 2.792)
41
11
8
Left Cuneus ( 3.309)
22
79
23
Left Middle Occipital Gyrus ( 2.663)
19
98
16



It's difficult to tell the differences between the regular, rvhrcor and global signal methods of preprocessing. However, judging from the tables, it looks like the rvhrcor method results in a somewhat less noisy map. To test this I compared the number of voxels above threshold (z > 2.58 p < .01) that overlapped with a map taken form the MID task meta analysis for gain anticipation > loss anticipation (Knutson & Greer 2008). The idea is that any significant voxels inside the mask are "correct" and any outside the mask are "noise". Here is the plot:

MaskComp.jpg

From this it looks like the regular, rvhrcor and global signal methods are similar in terms of identifying "correct" voxels but the rvhrcor results in substantially fewer "noise" voxels. My intuition is that this effect might go away if there were many more subjects.

Timecourses

Since the rvhrcor and retroicor methods do some correction to the data before preprocessing, I compared the time courses for these methods. Here's the data:

All NaccGain.jpg
Individ NaccGain.jpg

Clearly the regular processing method and the rvhrcor method are pretty much identical. Retroicor, however, looks more noisy and does something very bizarre to subject 2. To see how noisy it was, I compared the standard deviations of the first 200 TRs of subject 1 (shown below). Indeed retroicor is much noisier and rvhrcor is slightly less noisy than the regular method.

Std proc.jpg

Since it looked like rvhrcor was effective in terms of getting rid of noise, but it also slightly reduced the significance of the "correct" voxels, I wanted to see what the relationship was between the physiological signals and the task. To do this I made timecourses from the heart rate (HR) and respiratory volume (Resp) regressors. I used both the raw data (Plain) and the data after it was convolved by rvhrcor. There was indeed an effect by condition (which fits with what rvhrcor is doing) but I don't know what to make of it.

Gain

Loss

Hr gain.jpg

Hr loss.jpg

Rv gain2.jpg

Rv loss.jpg

Gain Outcome Maps

Data was thresholded at z = 2.282 (p < .025) due to low n

Regular
Reg outGain.png
rvhrcor
Rvhr outGain.png
Global
Glob outGain.png
retroicor
Ret outGain.png

Affective Picture Task

In this task subjects passively viewed affective pictures form the IAPS picture set. They saw six "negative" pictures with high negative arousal scores and six "neutral" pictures with low negative arousal scores. this task appeared to be effective in activating the amygdala although we were originally hoping to localize the insula with this task.


Regular rvhrcor Global retroicor
Reg NAhighpic n19x5yn14z.jpg Rvhr NAhighpic n19x5yn14z.jpg Glob NAhighpic n19x5yn14z.jpg Ret NAhighpic n19x5yn14z.jpg

Group Timecourses: Amygdala
All prc tc.jpg
Individual subject timecourses: Amygdala
Individ prc tc.jpg

Physiological timecourses
Hr tc.jpg Rv tc.jpg