<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ccn-wiki.caset.buffalo.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Greg</id>
	<title>CCN Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://ccn-wiki.caset.buffalo.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Greg"/>
	<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php/Special:Contributions/Greg"/>
	<updated>2026-05-02T22:04:23Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1558</id>
		<title>Freesurfer Group Analysis(FSGD)</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1558"/>
		<updated>2018-05-30T22:36:24Z</updated>

		<summary type="html">&lt;p&gt;Greg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Freesurfer Group Differences Analysis=&lt;br /&gt;
Kinda cool method that can be used to compare groups and/or regress out nuisance variables from BOLD data within Freesurfer. This method can potentially be used in place of the other GLM group analysis discussed on this wiki using output from selexavg (or prior to since can specify contrasts here in one step).&lt;br /&gt;
&lt;br /&gt;
Some sources:&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdExamples&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdFormat&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/Fsgdf2G0V&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Data=&lt;br /&gt;
If comparing T1 and T2 data, grab the files used for original GLMs (e.g. ces.nii.gz). &lt;br /&gt;
Rename and cat them for each hemi:&lt;br /&gt;
 mri_concat T1_ces.nii.gz T2_ces.nii.gz --o T1T2_ces.nii.gz&lt;br /&gt;
&lt;br /&gt;
=FSGD File=&lt;br /&gt;
For T1 vs. T2 booth data analysis, for example, with 2 groups and no covariates (g2v0.fsgd).&lt;br /&gt;
&lt;br /&gt;
The first line needs to stay the same &#039;GroupDescriptorFile 1&#039;.&lt;br /&gt;
 GroupDescriptorFile 1&lt;br /&gt;
 Title OSGM_T1T2&lt;br /&gt;
 Class GroupT1&lt;br /&gt;
 Class GroupT2&lt;br /&gt;
 Input FS_T1_501 GroupT1&lt;br /&gt;
 Input FS_T1_505 GroupT1&lt;br /&gt;
 Input FS_T1_506 GroupT1&lt;br /&gt;
 Input FS_T1_508 GroupT1&lt;br /&gt;
 Input FS_T1_513 GroupT1&lt;br /&gt;
 Input FS_T1_515 GroupT1&lt;br /&gt;
 Input FS_T1_529 GroupT1&lt;br /&gt;
 Input FS_T1_531 GroupT1&lt;br /&gt;
 Input FS_T1_534 GroupT1&lt;br /&gt;
 Input FS_T1_542 GroupT1&lt;br /&gt;
 Input FS_T1_546 GroupT1&lt;br /&gt;
 Input FS_T1_557 GroupT1&lt;br /&gt;
 Input FS_T1_564 GroupT1&lt;br /&gt;
 Input FS_T1_575 GroupT1&lt;br /&gt;
 Input FS_T1_576 GroupT1&lt;br /&gt;
 Input FS_T1_579 GroupT1&lt;br /&gt;
 Input FS_T1_580 GroupT1&lt;br /&gt;
 Input FS_T1_587 GroupT1&lt;br /&gt;
 Input FS_T1_589 GroupT1&lt;br /&gt;
 Input FS_T2_501 GroupT2&lt;br /&gt;
 Input FS_T2_505 GroupT2&lt;br /&gt;
 Input FS_T2_506 GroupT2&lt;br /&gt;
 Input FS_T2_508 GroupT2&lt;br /&gt;
 Input FS_T2_513 GroupT2&lt;br /&gt;
 Input FS_T2_515 GroupT2&lt;br /&gt;
 Input FS_T2_529 GroupT2&lt;br /&gt;
 Input FS_T2_531 GroupT2&lt;br /&gt;
 Input FS_T2_534 GroupT2&lt;br /&gt;
 Input FS_T2_542 GroupT2&lt;br /&gt;
 Input FS_T2_546 GroupT2&lt;br /&gt;
 Input FS_T2_557 GroupT2&lt;br /&gt;
 Input FS_T2_564 GroupT2&lt;br /&gt;
 Input FS_T2_575 GroupT2&lt;br /&gt;
 Input FS_T2_576 GroupT2&lt;br /&gt;
 Input FS_T2_579 GroupT2&lt;br /&gt;
 Input FS_T2_580 GroupT2&lt;br /&gt;
 Input FS_T2_587 GroupT2&lt;br /&gt;
 Input FS_T2_589 GroupT2&lt;br /&gt;
&lt;br /&gt;
=&#039;DODS&#039; contrast files=&lt;br /&gt;
groupdiff.mtx&lt;br /&gt;
 1 -1&lt;br /&gt;
T1.mtx&lt;br /&gt;
 1 0&lt;br /&gt;
T2.mtx&lt;br /&gt;
 0 1&lt;br /&gt;
T1T2intercept.mtx&lt;br /&gt;
 0.5 0.5&lt;br /&gt;
&lt;br /&gt;
=GLM=&lt;br /&gt;
Run new GLM for each hemi.&lt;br /&gt;
Command:&lt;br /&gt;
 mri_glmfit --surface fsaverage rh --glmdir g2v0 --y T1T2_ces.nii.gz --fsgd g2v0.fsgd --C GroupDiff.mtx --C GroupT1.mtx --C GroupT2.mtx --C GroupT1T2.intercept.mtx&lt;br /&gt;
&lt;br /&gt;
=Correct for Multiple Comparisons=&lt;br /&gt;
Next:&lt;br /&gt;
 mri_glmfit-sim --glmdir g2v0 --cache 3 abs --cwpvalthresh .05&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve got clusters and .annot files to load up and get sizes/means etc.&lt;br /&gt;
&lt;br /&gt;
Overlay&lt;br /&gt;
 tksurfer fsaverage lh pial&lt;br /&gt;
load overlay -&amp;gt; cache.th30.abs.sig.cluster.mgh&lt;br /&gt;
&lt;br /&gt;
cache.th30.abs.sig.cluster.summary contains cluster info.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can segment the cache.th30.abs.sig.cluster.annot file into desired clusters.&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1557</id>
		<title>Freesurfer Group Analysis(FSGD)</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1557"/>
		<updated>2018-05-30T22:30:30Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* Correct for multi comparisons */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Freesurfer Group Differences Analysis=&lt;br /&gt;
Kinda cool method that can be used to compare groups and/or regress out nuisance variables from BOLD data within Freesurfer.&lt;br /&gt;
&lt;br /&gt;
Some sources:&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdExamples&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdFormat&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/Fsgdf2G0V&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Data=&lt;br /&gt;
If comparing T1 and T2 data, grab the files used for original GLMs (e.g. ces.nii.gz). &lt;br /&gt;
Rename and cat them for each hemi:&lt;br /&gt;
 mri_concat T1_ces.nii.gz T2_ces.nii.gz --o T1T2_ces.nii.gz&lt;br /&gt;
&lt;br /&gt;
=FSGD File=&lt;br /&gt;
For T1 vs. T2 booth data analysis, for example, with 2 groups and no covariates (g2v0.fsgd).&lt;br /&gt;
&lt;br /&gt;
The first line needs to stay the same &#039;GroupDescriptorFile 1&#039;.&lt;br /&gt;
 GroupDescriptorFile 1&lt;br /&gt;
 Title OSGM_T1T2&lt;br /&gt;
 Class GroupT1&lt;br /&gt;
 Class GroupT2&lt;br /&gt;
 Input FS_T1_501 GroupT1&lt;br /&gt;
 Input FS_T1_505 GroupT1&lt;br /&gt;
 Input FS_T1_506 GroupT1&lt;br /&gt;
 Input FS_T1_508 GroupT1&lt;br /&gt;
 Input FS_T1_513 GroupT1&lt;br /&gt;
 Input FS_T1_515 GroupT1&lt;br /&gt;
 Input FS_T1_529 GroupT1&lt;br /&gt;
 Input FS_T1_531 GroupT1&lt;br /&gt;
 Input FS_T1_534 GroupT1&lt;br /&gt;
 Input FS_T1_542 GroupT1&lt;br /&gt;
 Input FS_T1_546 GroupT1&lt;br /&gt;
 Input FS_T1_557 GroupT1&lt;br /&gt;
 Input FS_T1_564 GroupT1&lt;br /&gt;
 Input FS_T1_575 GroupT1&lt;br /&gt;
 Input FS_T1_576 GroupT1&lt;br /&gt;
 Input FS_T1_579 GroupT1&lt;br /&gt;
 Input FS_T1_580 GroupT1&lt;br /&gt;
 Input FS_T1_587 GroupT1&lt;br /&gt;
 Input FS_T1_589 GroupT1&lt;br /&gt;
 Input FS_T2_501 GroupT2&lt;br /&gt;
 Input FS_T2_505 GroupT2&lt;br /&gt;
 Input FS_T2_506 GroupT2&lt;br /&gt;
 Input FS_T2_508 GroupT2&lt;br /&gt;
 Input FS_T2_513 GroupT2&lt;br /&gt;
 Input FS_T2_515 GroupT2&lt;br /&gt;
 Input FS_T2_529 GroupT2&lt;br /&gt;
 Input FS_T2_531 GroupT2&lt;br /&gt;
 Input FS_T2_534 GroupT2&lt;br /&gt;
 Input FS_T2_542 GroupT2&lt;br /&gt;
 Input FS_T2_546 GroupT2&lt;br /&gt;
 Input FS_T2_557 GroupT2&lt;br /&gt;
 Input FS_T2_564 GroupT2&lt;br /&gt;
 Input FS_T2_575 GroupT2&lt;br /&gt;
 Input FS_T2_576 GroupT2&lt;br /&gt;
 Input FS_T2_579 GroupT2&lt;br /&gt;
 Input FS_T2_580 GroupT2&lt;br /&gt;
 Input FS_T2_587 GroupT2&lt;br /&gt;
 Input FS_T2_589 GroupT2&lt;br /&gt;
&lt;br /&gt;
=&#039;DODS&#039; contrast files=&lt;br /&gt;
groupdiff.mtx&lt;br /&gt;
 1 -1&lt;br /&gt;
T1.mtx&lt;br /&gt;
 1 0&lt;br /&gt;
T2.mtx&lt;br /&gt;
 0 1&lt;br /&gt;
T1T2intercept.mtx&lt;br /&gt;
 0.5 0.5&lt;br /&gt;
&lt;br /&gt;
=GLM=&lt;br /&gt;
Run new GLM for each hemi.&lt;br /&gt;
Command:&lt;br /&gt;
 mri_glmfit --surface fsaverage rh --glmdir g2v0 --y T1T2_ces.nii.gz --fsgd g2v0.fsgd --C GroupDiff.mtx --C GroupT1.mtx --C GroupT2.mtx --C GroupT1T2.intercept.mtx&lt;br /&gt;
&lt;br /&gt;
=Correct for Multiple Comparisons=&lt;br /&gt;
Next:&lt;br /&gt;
 mri_glmfit-sim --glmdir g2v0 --cache 3 abs --cwpvalthresh .05&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve got clusters and .annot files to load up and get sizes/means etc.&lt;br /&gt;
&lt;br /&gt;
Overlay&lt;br /&gt;
 tksurfer fsaverage lh pial&lt;br /&gt;
load overlay -&amp;gt; cache.th30.abs.sig.cluster.mgh&lt;br /&gt;
&lt;br /&gt;
cache.th30.abs.sig.cluster.summary contains cluster info.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can segment the cache.th30.abs.sig.cluster.annot file into desired clusters.&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1556</id>
		<title>Freesurfer Group Analysis(FSGD)</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1556"/>
		<updated>2018-05-30T22:29:50Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* glm */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Freesurfer Group Differences Analysis=&lt;br /&gt;
Kinda cool method that can be used to compare groups and/or regress out nuisance variables from BOLD data within Freesurfer.&lt;br /&gt;
&lt;br /&gt;
Some sources:&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdExamples&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdFormat&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/Fsgdf2G0V&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Data=&lt;br /&gt;
If comparing T1 and T2 data, grab the files used for original GLMs (e.g. ces.nii.gz). &lt;br /&gt;
Rename and cat them for each hemi:&lt;br /&gt;
 mri_concat T1_ces.nii.gz T2_ces.nii.gz --o T1T2_ces.nii.gz&lt;br /&gt;
&lt;br /&gt;
=FSGD File=&lt;br /&gt;
For T1 vs. T2 booth data analysis, for example, with 2 groups and no covariates (g2v0.fsgd).&lt;br /&gt;
&lt;br /&gt;
The first line needs to stay the same &#039;GroupDescriptorFile 1&#039;.&lt;br /&gt;
 GroupDescriptorFile 1&lt;br /&gt;
 Title OSGM_T1T2&lt;br /&gt;
 Class GroupT1&lt;br /&gt;
 Class GroupT2&lt;br /&gt;
 Input FS_T1_501 GroupT1&lt;br /&gt;
 Input FS_T1_505 GroupT1&lt;br /&gt;
 Input FS_T1_506 GroupT1&lt;br /&gt;
 Input FS_T1_508 GroupT1&lt;br /&gt;
 Input FS_T1_513 GroupT1&lt;br /&gt;
 Input FS_T1_515 GroupT1&lt;br /&gt;
 Input FS_T1_529 GroupT1&lt;br /&gt;
 Input FS_T1_531 GroupT1&lt;br /&gt;
 Input FS_T1_534 GroupT1&lt;br /&gt;
 Input FS_T1_542 GroupT1&lt;br /&gt;
 Input FS_T1_546 GroupT1&lt;br /&gt;
 Input FS_T1_557 GroupT1&lt;br /&gt;
 Input FS_T1_564 GroupT1&lt;br /&gt;
 Input FS_T1_575 GroupT1&lt;br /&gt;
 Input FS_T1_576 GroupT1&lt;br /&gt;
 Input FS_T1_579 GroupT1&lt;br /&gt;
 Input FS_T1_580 GroupT1&lt;br /&gt;
 Input FS_T1_587 GroupT1&lt;br /&gt;
 Input FS_T1_589 GroupT1&lt;br /&gt;
 Input FS_T2_501 GroupT2&lt;br /&gt;
 Input FS_T2_505 GroupT2&lt;br /&gt;
 Input FS_T2_506 GroupT2&lt;br /&gt;
 Input FS_T2_508 GroupT2&lt;br /&gt;
 Input FS_T2_513 GroupT2&lt;br /&gt;
 Input FS_T2_515 GroupT2&lt;br /&gt;
 Input FS_T2_529 GroupT2&lt;br /&gt;
 Input FS_T2_531 GroupT2&lt;br /&gt;
 Input FS_T2_534 GroupT2&lt;br /&gt;
 Input FS_T2_542 GroupT2&lt;br /&gt;
 Input FS_T2_546 GroupT2&lt;br /&gt;
 Input FS_T2_557 GroupT2&lt;br /&gt;
 Input FS_T2_564 GroupT2&lt;br /&gt;
 Input FS_T2_575 GroupT2&lt;br /&gt;
 Input FS_T2_576 GroupT2&lt;br /&gt;
 Input FS_T2_579 GroupT2&lt;br /&gt;
 Input FS_T2_580 GroupT2&lt;br /&gt;
 Input FS_T2_587 GroupT2&lt;br /&gt;
 Input FS_T2_589 GroupT2&lt;br /&gt;
&lt;br /&gt;
=&#039;DODS&#039; contrast files=&lt;br /&gt;
groupdiff.mtx&lt;br /&gt;
 1 -1&lt;br /&gt;
T1.mtx&lt;br /&gt;
 1 0&lt;br /&gt;
T2.mtx&lt;br /&gt;
 0 1&lt;br /&gt;
T1T2intercept.mtx&lt;br /&gt;
 0.5 0.5&lt;br /&gt;
&lt;br /&gt;
=GLM=&lt;br /&gt;
Run new GLM for each hemi.&lt;br /&gt;
Command:&lt;br /&gt;
 mri_glmfit --surface fsaverage rh --glmdir g2v0 --y T1T2_ces.nii.gz --fsgd g2v0.fsgd --C GroupDiff.mtx --C GroupT1.mtx --C GroupT2.mtx --C GroupT1T2.intercept.mtx&lt;br /&gt;
&lt;br /&gt;
=Correct for multi comparisons=&lt;br /&gt;
Next:&lt;br /&gt;
 mri_glmfit-sim --glmdir g2v0 --cache 3 abs --cwpvalthresh .05&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve got clusters and .annot files to load up and get sizes/means etc.&lt;br /&gt;
&lt;br /&gt;
Overlay&lt;br /&gt;
 tksurfer fsaverage lh pial&lt;br /&gt;
load overlay -&amp;gt; cache.th30.abs.sig.cluster.mgh&lt;br /&gt;
&lt;br /&gt;
cache.th30.abs.sig.cluster.summary contains cluster info.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can segment the cache.th30.abs.sig.cluster.annot file into desired clusters.&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1555</id>
		<title>Freesurfer Group Analysis(FSGD)</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1555"/>
		<updated>2018-05-30T22:28:56Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* &amp;#039;DODS&amp;#039; contrast files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Freesurfer Group Differences Analysis=&lt;br /&gt;
Kinda cool method that can be used to compare groups and/or regress out nuisance variables from BOLD data within Freesurfer.&lt;br /&gt;
&lt;br /&gt;
Some sources:&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdExamples&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdFormat&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/Fsgdf2G0V&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Data=&lt;br /&gt;
If comparing T1 and T2 data, grab the files used for original GLMs (e.g. ces.nii.gz). &lt;br /&gt;
Rename and cat them for each hemi:&lt;br /&gt;
 mri_concat T1_ces.nii.gz T2_ces.nii.gz --o T1T2_ces.nii.gz&lt;br /&gt;
&lt;br /&gt;
=FSGD File=&lt;br /&gt;
For T1 vs. T2 booth data analysis, for example, with 2 groups and no covariates (g2v0.fsgd).&lt;br /&gt;
&lt;br /&gt;
The first line needs to stay the same &#039;GroupDescriptorFile 1&#039;.&lt;br /&gt;
 GroupDescriptorFile 1&lt;br /&gt;
 Title OSGM_T1T2&lt;br /&gt;
 Class GroupT1&lt;br /&gt;
 Class GroupT2&lt;br /&gt;
 Input FS_T1_501 GroupT1&lt;br /&gt;
 Input FS_T1_505 GroupT1&lt;br /&gt;
 Input FS_T1_506 GroupT1&lt;br /&gt;
 Input FS_T1_508 GroupT1&lt;br /&gt;
 Input FS_T1_513 GroupT1&lt;br /&gt;
 Input FS_T1_515 GroupT1&lt;br /&gt;
 Input FS_T1_529 GroupT1&lt;br /&gt;
 Input FS_T1_531 GroupT1&lt;br /&gt;
 Input FS_T1_534 GroupT1&lt;br /&gt;
 Input FS_T1_542 GroupT1&lt;br /&gt;
 Input FS_T1_546 GroupT1&lt;br /&gt;
 Input FS_T1_557 GroupT1&lt;br /&gt;
 Input FS_T1_564 GroupT1&lt;br /&gt;
 Input FS_T1_575 GroupT1&lt;br /&gt;
 Input FS_T1_576 GroupT1&lt;br /&gt;
 Input FS_T1_579 GroupT1&lt;br /&gt;
 Input FS_T1_580 GroupT1&lt;br /&gt;
 Input FS_T1_587 GroupT1&lt;br /&gt;
 Input FS_T1_589 GroupT1&lt;br /&gt;
 Input FS_T2_501 GroupT2&lt;br /&gt;
 Input FS_T2_505 GroupT2&lt;br /&gt;
 Input FS_T2_506 GroupT2&lt;br /&gt;
 Input FS_T2_508 GroupT2&lt;br /&gt;
 Input FS_T2_513 GroupT2&lt;br /&gt;
 Input FS_T2_515 GroupT2&lt;br /&gt;
 Input FS_T2_529 GroupT2&lt;br /&gt;
 Input FS_T2_531 GroupT2&lt;br /&gt;
 Input FS_T2_534 GroupT2&lt;br /&gt;
 Input FS_T2_542 GroupT2&lt;br /&gt;
 Input FS_T2_546 GroupT2&lt;br /&gt;
 Input FS_T2_557 GroupT2&lt;br /&gt;
 Input FS_T2_564 GroupT2&lt;br /&gt;
 Input FS_T2_575 GroupT2&lt;br /&gt;
 Input FS_T2_576 GroupT2&lt;br /&gt;
 Input FS_T2_579 GroupT2&lt;br /&gt;
 Input FS_T2_580 GroupT2&lt;br /&gt;
 Input FS_T2_587 GroupT2&lt;br /&gt;
 Input FS_T2_589 GroupT2&lt;br /&gt;
&lt;br /&gt;
=&#039;DODS&#039; contrast files=&lt;br /&gt;
groupdiff.mtx&lt;br /&gt;
 1 -1&lt;br /&gt;
T1.mtx&lt;br /&gt;
 1 0&lt;br /&gt;
T2.mtx&lt;br /&gt;
 0 1&lt;br /&gt;
T1T2intercept.mtx&lt;br /&gt;
 0.5 0.5&lt;br /&gt;
&lt;br /&gt;
=glm=&lt;br /&gt;
Command:&lt;br /&gt;
 mri_glmfit --surface fsaverage rh --glmdir g2v0 --y T1T2_ces.nii.gz --fsgd g2v0.fsgd --C GroupDiff.mtx --C GroupT1.mtx --C GroupT2.mtx --C GroupT1T2.intercept.mtx &lt;br /&gt;
&lt;br /&gt;
=Correct for multi comparisons=&lt;br /&gt;
Next:&lt;br /&gt;
 mri_glmfit-sim --glmdir g2v0 --cache 3 abs --cwpvalthresh .05&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve got clusters and .annot files to load up and get sizes/means etc.&lt;br /&gt;
&lt;br /&gt;
Overlay&lt;br /&gt;
 tksurfer fsaverage lh pial&lt;br /&gt;
load overlay -&amp;gt; cache.th30.abs.sig.cluster.mgh&lt;br /&gt;
&lt;br /&gt;
cache.th30.abs.sig.cluster.summary contains cluster info.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can segment the cache.th30.abs.sig.cluster.annot file into desired clusters.&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1554</id>
		<title>Freesurfer Group Analysis(FSGD)</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1554"/>
		<updated>2018-05-30T22:28:10Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* FSGD */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Freesurfer Group Differences Analysis=&lt;br /&gt;
Kinda cool method that can be used to compare groups and/or regress out nuisance variables from BOLD data within Freesurfer.&lt;br /&gt;
&lt;br /&gt;
Some sources:&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdExamples&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdFormat&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/Fsgdf2G0V&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Data=&lt;br /&gt;
If comparing T1 and T2 data, grab the files used for original GLMs (e.g. ces.nii.gz). &lt;br /&gt;
Rename and cat them for each hemi:&lt;br /&gt;
 mri_concat T1_ces.nii.gz T2_ces.nii.gz --o T1T2_ces.nii.gz&lt;br /&gt;
&lt;br /&gt;
=FSGD File=&lt;br /&gt;
For T1 vs. T2 booth data analysis, for example, with 2 groups and no covariates (g2v0.fsgd).&lt;br /&gt;
&lt;br /&gt;
The first line needs to stay the same &#039;GroupDescriptorFile 1&#039;.&lt;br /&gt;
 GroupDescriptorFile 1&lt;br /&gt;
 Title OSGM_T1T2&lt;br /&gt;
 Class GroupT1&lt;br /&gt;
 Class GroupT2&lt;br /&gt;
 Input FS_T1_501 GroupT1&lt;br /&gt;
 Input FS_T1_505 GroupT1&lt;br /&gt;
 Input FS_T1_506 GroupT1&lt;br /&gt;
 Input FS_T1_508 GroupT1&lt;br /&gt;
 Input FS_T1_513 GroupT1&lt;br /&gt;
 Input FS_T1_515 GroupT1&lt;br /&gt;
 Input FS_T1_529 GroupT1&lt;br /&gt;
 Input FS_T1_531 GroupT1&lt;br /&gt;
 Input FS_T1_534 GroupT1&lt;br /&gt;
 Input FS_T1_542 GroupT1&lt;br /&gt;
 Input FS_T1_546 GroupT1&lt;br /&gt;
 Input FS_T1_557 GroupT1&lt;br /&gt;
 Input FS_T1_564 GroupT1&lt;br /&gt;
 Input FS_T1_575 GroupT1&lt;br /&gt;
 Input FS_T1_576 GroupT1&lt;br /&gt;
 Input FS_T1_579 GroupT1&lt;br /&gt;
 Input FS_T1_580 GroupT1&lt;br /&gt;
 Input FS_T1_587 GroupT1&lt;br /&gt;
 Input FS_T1_589 GroupT1&lt;br /&gt;
 Input FS_T2_501 GroupT2&lt;br /&gt;
 Input FS_T2_505 GroupT2&lt;br /&gt;
 Input FS_T2_506 GroupT2&lt;br /&gt;
 Input FS_T2_508 GroupT2&lt;br /&gt;
 Input FS_T2_513 GroupT2&lt;br /&gt;
 Input FS_T2_515 GroupT2&lt;br /&gt;
 Input FS_T2_529 GroupT2&lt;br /&gt;
 Input FS_T2_531 GroupT2&lt;br /&gt;
 Input FS_T2_534 GroupT2&lt;br /&gt;
 Input FS_T2_542 GroupT2&lt;br /&gt;
 Input FS_T2_546 GroupT2&lt;br /&gt;
 Input FS_T2_557 GroupT2&lt;br /&gt;
 Input FS_T2_564 GroupT2&lt;br /&gt;
 Input FS_T2_575 GroupT2&lt;br /&gt;
 Input FS_T2_576 GroupT2&lt;br /&gt;
 Input FS_T2_579 GroupT2&lt;br /&gt;
 Input FS_T2_580 GroupT2&lt;br /&gt;
 Input FS_T2_587 GroupT2&lt;br /&gt;
 Input FS_T2_589 GroupT2&lt;br /&gt;
&lt;br /&gt;
=&#039;DODS&#039; contrast files=&lt;br /&gt;
groupdiff.mtx&lt;br /&gt;
 1 -1&lt;br /&gt;
T1.mtx&lt;br /&gt;
 1 0&lt;br /&gt;
T2.mtx&lt;br /&gt;
 01&lt;br /&gt;
T1T2intercept.mtx&lt;br /&gt;
 0.5 0.5&lt;br /&gt;
&lt;br /&gt;
=glm=&lt;br /&gt;
Command:&lt;br /&gt;
 mri_glmfit --surface fsaverage rh --glmdir g2v0 --y T1T2_ces.nii.gz --fsgd g2v0.fsgd --C GroupDiff.mtx --C GroupT1.mtx --C GroupT2.mtx --C GroupT1T2.intercept.mtx &lt;br /&gt;
&lt;br /&gt;
=Correct for multi comparisons=&lt;br /&gt;
Next:&lt;br /&gt;
 mri_glmfit-sim --glmdir g2v0 --cache 3 abs --cwpvalthresh .05&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve got clusters and .annot files to load up and get sizes/means etc.&lt;br /&gt;
&lt;br /&gt;
Overlay&lt;br /&gt;
 tksurfer fsaverage lh pial&lt;br /&gt;
load overlay -&amp;gt; cache.th30.abs.sig.cluster.mgh&lt;br /&gt;
&lt;br /&gt;
cache.th30.abs.sig.cluster.summary contains cluster info.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can segment the cache.th30.abs.sig.cluster.annot file into desired clusters.&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1553</id>
		<title>Freesurfer Group Analysis(FSGD)</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1553"/>
		<updated>2018-05-30T22:26:06Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Freesurfer Group Differences Analysis=&lt;br /&gt;
Kinda cool method that can be used to compare groups and/or regress out nuisance variables from BOLD data within Freesurfer.&lt;br /&gt;
&lt;br /&gt;
Some sources:&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdExamples&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdFormat&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/Fsgdf2G0V&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Data=&lt;br /&gt;
If comparing T1 and T2 data, grab the files used for original GLMs (e.g. ces.nii.gz). &lt;br /&gt;
Rename and cat them for each hemi:&lt;br /&gt;
 mri_concat T1_ces.nii.gz T2_ces.nii.gz --o T1T2_ces.nii.gz&lt;br /&gt;
&lt;br /&gt;
=FSGD=&lt;br /&gt;
For T1 vs. T2 Data, first line needs to stay the same. (g2v0.fsgd) -- 2 groups no covariates&lt;br /&gt;
 GroupDescriptorFile 1&lt;br /&gt;
 Title OSGM_T1T2&lt;br /&gt;
 Class GroupT1&lt;br /&gt;
 Class GroupT2&lt;br /&gt;
 Input FS_T1_501 GroupT1&lt;br /&gt;
 Input FS_T1_505 GroupT1&lt;br /&gt;
 Input FS_T1_506 GroupT1&lt;br /&gt;
 Input FS_T1_508 GroupT1&lt;br /&gt;
 Input FS_T1_513 GroupT1&lt;br /&gt;
 Input FS_T1_515 GroupT1&lt;br /&gt;
 Input FS_T1_529 GroupT1&lt;br /&gt;
 Input FS_T1_531 GroupT1&lt;br /&gt;
 Input FS_T1_534 GroupT1&lt;br /&gt;
 Input FS_T1_542 GroupT1&lt;br /&gt;
 Input FS_T1_546 GroupT1&lt;br /&gt;
 Input FS_T1_557 GroupT1&lt;br /&gt;
 Input FS_T1_564 GroupT1&lt;br /&gt;
 Input FS_T1_575 GroupT1&lt;br /&gt;
 Input FS_T1_576 GroupT1&lt;br /&gt;
 Input FS_T1_579 GroupT1&lt;br /&gt;
 Input FS_T1_580 GroupT1&lt;br /&gt;
 Input FS_T1_587 GroupT1&lt;br /&gt;
 Input FS_T1_589 GroupT1&lt;br /&gt;
 Input FS_T2_501 GroupT2&lt;br /&gt;
 Input FS_T2_505 GroupT2&lt;br /&gt;
 Input FS_T2_506 GroupT2&lt;br /&gt;
 Input FS_T2_508 GroupT2&lt;br /&gt;
 Input FS_T2_513 GroupT2&lt;br /&gt;
 Input FS_T2_515 GroupT2&lt;br /&gt;
 Input FS_T2_529 GroupT2&lt;br /&gt;
 Input FS_T2_531 GroupT2&lt;br /&gt;
 Input FS_T2_534 GroupT2&lt;br /&gt;
 Input FS_T2_542 GroupT2&lt;br /&gt;
 Input FS_T2_546 GroupT2&lt;br /&gt;
 Input FS_T2_557 GroupT2&lt;br /&gt;
 Input FS_T2_564 GroupT2&lt;br /&gt;
 Input FS_T2_575 GroupT2&lt;br /&gt;
 Input FS_T2_576 GroupT2&lt;br /&gt;
 Input FS_T2_579 GroupT2&lt;br /&gt;
 Input FS_T2_580 GroupT2&lt;br /&gt;
 Input FS_T2_587 GroupT2&lt;br /&gt;
 Input FS_T2_589 GroupT2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=&#039;DODS&#039; contrast files=&lt;br /&gt;
groupdiff.mtx&lt;br /&gt;
 1 -1&lt;br /&gt;
T1.mtx&lt;br /&gt;
 1 0&lt;br /&gt;
T2.mtx&lt;br /&gt;
 01&lt;br /&gt;
T1T2intercept.mtx&lt;br /&gt;
 0.5 0.5&lt;br /&gt;
&lt;br /&gt;
=glm=&lt;br /&gt;
Command:&lt;br /&gt;
 mri_glmfit --surface fsaverage rh --glmdir g2v0 --y T1T2_ces.nii.gz --fsgd g2v0.fsgd --C GroupDiff.mtx --C GroupT1.mtx --C GroupT2.mtx --C GroupT1T2.intercept.mtx &lt;br /&gt;
&lt;br /&gt;
=Correct for multi comparisons=&lt;br /&gt;
Next:&lt;br /&gt;
 mri_glmfit-sim --glmdir g2v0 --cache 3 abs --cwpvalthresh .05&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve got clusters and .annot files to load up and get sizes/means etc.&lt;br /&gt;
&lt;br /&gt;
Overlay&lt;br /&gt;
 tksurfer fsaverage lh pial&lt;br /&gt;
load overlay -&amp;gt; cache.th30.abs.sig.cluster.mgh&lt;br /&gt;
&lt;br /&gt;
cache.th30.abs.sig.cluster.summary contains cluster info.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can segment the cache.th30.abs.sig.cluster.annot file into desired clusters.&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1552</id>
		<title>Freesurfer Group Analysis(FSGD)</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1552"/>
		<updated>2018-05-30T22:25:40Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Freesurfer Group Differences Analysis=&lt;br /&gt;
Kinda cool method that can be used to compare groups and/or regress out nuisance variables from BOLD data within Freesurfer.&lt;br /&gt;
&lt;br /&gt;
Some sources:&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdExamples&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdFormat&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/Fsgdf2G0V&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Data=&lt;br /&gt;
If caomparing T1 and T2 data, grab the files used for original GLMs (e.g. ces.nii.gz). &lt;br /&gt;
Rename and cat them for each hemi:&lt;br /&gt;
 mri_concat T1_ces.nii.gz T2_ces.nii.gz --o T1T2_ces.nii.gz&lt;br /&gt;
&lt;br /&gt;
=FSGD=&lt;br /&gt;
For T1 vs. T2 Data, first line needs to stay the same. (g2v0.fsgd) -- 2 groups no covariates&lt;br /&gt;
 GroupDescriptorFile 1&lt;br /&gt;
 Title OSGM_T1T2&lt;br /&gt;
 Class GroupT1&lt;br /&gt;
 Class GroupT2&lt;br /&gt;
 Input FS_T1_501 GroupT1&lt;br /&gt;
 Input FS_T1_505 GroupT1&lt;br /&gt;
 Input FS_T1_506 GroupT1&lt;br /&gt;
 Input FS_T1_508 GroupT1&lt;br /&gt;
 Input FS_T1_513 GroupT1&lt;br /&gt;
 Input FS_T1_515 GroupT1&lt;br /&gt;
 Input FS_T1_529 GroupT1&lt;br /&gt;
 Input FS_T1_531 GroupT1&lt;br /&gt;
 Input FS_T1_534 GroupT1&lt;br /&gt;
 Input FS_T1_542 GroupT1&lt;br /&gt;
 Input FS_T1_546 GroupT1&lt;br /&gt;
 Input FS_T1_557 GroupT1&lt;br /&gt;
 Input FS_T1_564 GroupT1&lt;br /&gt;
 Input FS_T1_575 GroupT1&lt;br /&gt;
 Input FS_T1_576 GroupT1&lt;br /&gt;
 Input FS_T1_579 GroupT1&lt;br /&gt;
 Input FS_T1_580 GroupT1&lt;br /&gt;
 Input FS_T1_587 GroupT1&lt;br /&gt;
 Input FS_T1_589 GroupT1&lt;br /&gt;
 Input FS_T2_501 GroupT2&lt;br /&gt;
 Input FS_T2_505 GroupT2&lt;br /&gt;
 Input FS_T2_506 GroupT2&lt;br /&gt;
 Input FS_T2_508 GroupT2&lt;br /&gt;
 Input FS_T2_513 GroupT2&lt;br /&gt;
 Input FS_T2_515 GroupT2&lt;br /&gt;
 Input FS_T2_529 GroupT2&lt;br /&gt;
 Input FS_T2_531 GroupT2&lt;br /&gt;
 Input FS_T2_534 GroupT2&lt;br /&gt;
 Input FS_T2_542 GroupT2&lt;br /&gt;
 Input FS_T2_546 GroupT2&lt;br /&gt;
 Input FS_T2_557 GroupT2&lt;br /&gt;
 Input FS_T2_564 GroupT2&lt;br /&gt;
 Input FS_T2_575 GroupT2&lt;br /&gt;
 Input FS_T2_576 GroupT2&lt;br /&gt;
 Input FS_T2_579 GroupT2&lt;br /&gt;
 Input FS_T2_580 GroupT2&lt;br /&gt;
 Input FS_T2_587 GroupT2&lt;br /&gt;
 Input FS_T2_589 GroupT2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=&#039;DODS&#039; contrast files=&lt;br /&gt;
groupdiff.mtx&lt;br /&gt;
 1 -1&lt;br /&gt;
T1.mtx&lt;br /&gt;
 1 0&lt;br /&gt;
T2.mtx&lt;br /&gt;
 01&lt;br /&gt;
T1T2intercept.mtx&lt;br /&gt;
 0.5 0.5&lt;br /&gt;
&lt;br /&gt;
=glm=&lt;br /&gt;
Command:&lt;br /&gt;
 mri_glmfit --surface fsaverage rh --glmdir g2v0 --y T1T2_ces.nii.gz --fsgd g2v0.fsgd --C GroupDiff.mtx --C GroupT1.mtx --C GroupT2.mtx --C GroupT1T2.intercept.mtx &lt;br /&gt;
&lt;br /&gt;
=Correct for multi comparisons=&lt;br /&gt;
Next:&lt;br /&gt;
 mri_glmfit-sim --glmdir g2v0 --cache 3 abs --cwpvalthresh .05&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve got clusters and .annot files to load up and get sizes/means etc.&lt;br /&gt;
&lt;br /&gt;
Overlay&lt;br /&gt;
 tksurfer fsaverage lh pial&lt;br /&gt;
load overlay -&amp;gt; cache.th30.abs.sig.cluster.mgh&lt;br /&gt;
&lt;br /&gt;
cache.th30.abs.sig.cluster.summary contains cluster info.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can segment the cache.th30.abs.sig.cluster.annot file into desired clusters.&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1551</id>
		<title>Freesurfer Group Analysis(FSGD)</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1551"/>
		<updated>2018-05-30T22:24:36Z</updated>

		<summary type="html">&lt;p&gt;Greg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Freesurfer Group Differences Analysis=&lt;br /&gt;
Kinda cool method that can be used to compare groups and/or regress out nuisance variables from BOLD data within Freesurfer.&lt;br /&gt;
&lt;br /&gt;
Some sources:&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdExamples&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdFormat&lt;br /&gt;
&lt;br /&gt;
 https://surfer.nmr.mgh.harvard.edu/fswiki/Fsgdf2G0V&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Data=&lt;br /&gt;
Grab the files used for original glms (e.g. ces.nii.gz)&lt;br /&gt;
Rename and cat them for each hemi&lt;br /&gt;
 mri_concat T1_ces.nii.gz T2_ces.nii.gz --o T1T2_ces.nii.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=FSGD=&lt;br /&gt;
For T1 vs. T2 Data, first line needs to stay the same. (g2v0.fsgd) -- 2 groups no covariates&lt;br /&gt;
 GroupDescriptorFile 1&lt;br /&gt;
 Title OSGM_T1T2&lt;br /&gt;
 Class GroupT1&lt;br /&gt;
 Class GroupT2&lt;br /&gt;
 Input FS_T1_501 GroupT1&lt;br /&gt;
 Input FS_T1_505 GroupT1&lt;br /&gt;
 Input FS_T1_506 GroupT1&lt;br /&gt;
 Input FS_T1_508 GroupT1&lt;br /&gt;
 Input FS_T1_513 GroupT1&lt;br /&gt;
 Input FS_T1_515 GroupT1&lt;br /&gt;
 Input FS_T1_529 GroupT1&lt;br /&gt;
 Input FS_T1_531 GroupT1&lt;br /&gt;
 Input FS_T1_534 GroupT1&lt;br /&gt;
 Input FS_T1_542 GroupT1&lt;br /&gt;
 Input FS_T1_546 GroupT1&lt;br /&gt;
 Input FS_T1_557 GroupT1&lt;br /&gt;
 Input FS_T1_564 GroupT1&lt;br /&gt;
 Input FS_T1_575 GroupT1&lt;br /&gt;
 Input FS_T1_576 GroupT1&lt;br /&gt;
 Input FS_T1_579 GroupT1&lt;br /&gt;
 Input FS_T1_580 GroupT1&lt;br /&gt;
 Input FS_T1_587 GroupT1&lt;br /&gt;
 Input FS_T1_589 GroupT1&lt;br /&gt;
 Input FS_T2_501 GroupT2&lt;br /&gt;
 Input FS_T2_505 GroupT2&lt;br /&gt;
 Input FS_T2_506 GroupT2&lt;br /&gt;
 Input FS_T2_508 GroupT2&lt;br /&gt;
 Input FS_T2_513 GroupT2&lt;br /&gt;
 Input FS_T2_515 GroupT2&lt;br /&gt;
 Input FS_T2_529 GroupT2&lt;br /&gt;
 Input FS_T2_531 GroupT2&lt;br /&gt;
 Input FS_T2_534 GroupT2&lt;br /&gt;
 Input FS_T2_542 GroupT2&lt;br /&gt;
 Input FS_T2_546 GroupT2&lt;br /&gt;
 Input FS_T2_557 GroupT2&lt;br /&gt;
 Input FS_T2_564 GroupT2&lt;br /&gt;
 Input FS_T2_575 GroupT2&lt;br /&gt;
 Input FS_T2_576 GroupT2&lt;br /&gt;
 Input FS_T2_579 GroupT2&lt;br /&gt;
 Input FS_T2_580 GroupT2&lt;br /&gt;
 Input FS_T2_587 GroupT2&lt;br /&gt;
 Input FS_T2_589 GroupT2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=&#039;DODS&#039; contrast files=&lt;br /&gt;
groupdiff.mtx&lt;br /&gt;
 1 -1&lt;br /&gt;
T1.mtx&lt;br /&gt;
 1 0&lt;br /&gt;
T2.mtx&lt;br /&gt;
 01&lt;br /&gt;
T1T2intercept.mtx&lt;br /&gt;
 0.5 0.5&lt;br /&gt;
&lt;br /&gt;
=glm=&lt;br /&gt;
Command:&lt;br /&gt;
 mri_glmfit --surface fsaverage rh --glmdir g2v0 --y T1T2_ces.nii.gz --fsgd g2v0.fsgd --C GroupDiff.mtx --C GroupT1.mtx --C GroupT2.mtx --C GroupT1T2.intercept.mtx &lt;br /&gt;
&lt;br /&gt;
=Correct for multi comparisons=&lt;br /&gt;
Next:&lt;br /&gt;
 mri_glmfit-sim --glmdir g2v0 --cache 3 abs --cwpvalthresh .05&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve got clusters and .annot files to load up and get sizes/means etc.&lt;br /&gt;
&lt;br /&gt;
Overlay&lt;br /&gt;
 tksurfer fsaverage lh pial&lt;br /&gt;
load overlay -&amp;gt; cache.th30.abs.sig.cluster.mgh&lt;br /&gt;
&lt;br /&gt;
cache.th30.abs.sig.cluster.summary contains cluster info.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can segment the cache.th30.abs.sig.cluster.annot file into desired clusters.&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1550</id>
		<title>Freesurfer Group Analysis(FSGD)</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Freesurfer_Group_Analysis(FSGD)&amp;diff=1550"/>
		<updated>2018-05-29T20:26:43Z</updated>

		<summary type="html">&lt;p&gt;Greg: Created page with &amp;quot;https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdExamples https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdFormat https://surfer.nmr.mgh.harvard.edu/fswiki/Fsgdf2G0V   =Data= Grab t...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdExamples&lt;br /&gt;
https://surfer.nmr.mgh.harvard.edu/fswiki/FsgdFormat&lt;br /&gt;
https://surfer.nmr.mgh.harvard.edu/fswiki/Fsgdf2G0V&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Data=&lt;br /&gt;
Grab the files used for original glms (e.g. ces.nii.gz)&lt;br /&gt;
Rename and cat them for each hemi&lt;br /&gt;
 mri_concat T1_ces.nii.gz T2_ces.nii.gz --o T1T2_ces.nii.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=FSGD=&lt;br /&gt;
For T1 vs. T2 Data, first line needs to stay the same. (g2v0.fsgd) -- 2 groups no covariates&lt;br /&gt;
 GroupDescriptorFile 1&lt;br /&gt;
 Title OSGM_T1T2&lt;br /&gt;
 Class GroupT1&lt;br /&gt;
 Class GroupT2&lt;br /&gt;
 Input FS_T1_501 GroupT1&lt;br /&gt;
 Input FS_T1_505 GroupT1&lt;br /&gt;
 Input FS_T1_506 GroupT1&lt;br /&gt;
 Input FS_T1_508 GroupT1&lt;br /&gt;
 Input FS_T1_513 GroupT1&lt;br /&gt;
 Input FS_T1_515 GroupT1&lt;br /&gt;
 Input FS_T1_529 GroupT1&lt;br /&gt;
 Input FS_T1_531 GroupT1&lt;br /&gt;
 Input FS_T1_534 GroupT1&lt;br /&gt;
 Input FS_T1_542 GroupT1&lt;br /&gt;
 Input FS_T1_546 GroupT1&lt;br /&gt;
 Input FS_T1_557 GroupT1&lt;br /&gt;
 Input FS_T1_564 GroupT1&lt;br /&gt;
 Input FS_T1_575 GroupT1&lt;br /&gt;
 Input FS_T1_576 GroupT1&lt;br /&gt;
 Input FS_T1_579 GroupT1&lt;br /&gt;
 Input FS_T1_580 GroupT1&lt;br /&gt;
 Input FS_T1_587 GroupT1&lt;br /&gt;
 Input FS_T1_589 GroupT1&lt;br /&gt;
 Input FS_T2_501 GroupT2&lt;br /&gt;
 Input FS_T2_505 GroupT2&lt;br /&gt;
 Input FS_T2_506 GroupT2&lt;br /&gt;
 Input FS_T2_508 GroupT2&lt;br /&gt;
 Input FS_T2_513 GroupT2&lt;br /&gt;
 Input FS_T2_515 GroupT2&lt;br /&gt;
 Input FS_T2_529 GroupT2&lt;br /&gt;
 Input FS_T2_531 GroupT2&lt;br /&gt;
 Input FS_T2_534 GroupT2&lt;br /&gt;
 Input FS_T2_542 GroupT2&lt;br /&gt;
 Input FS_T2_546 GroupT2&lt;br /&gt;
 Input FS_T2_557 GroupT2&lt;br /&gt;
 Input FS_T2_564 GroupT2&lt;br /&gt;
 Input FS_T2_575 GroupT2&lt;br /&gt;
 Input FS_T2_576 GroupT2&lt;br /&gt;
 Input FS_T2_579 GroupT2&lt;br /&gt;
 Input FS_T2_580 GroupT2&lt;br /&gt;
 Input FS_T2_587 GroupT2&lt;br /&gt;
 Input FS_T2_589 GroupT2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=&#039;DODS&#039; contrast files=&lt;br /&gt;
groupdiff.mtx&lt;br /&gt;
 1 -1&lt;br /&gt;
T1.mtx&lt;br /&gt;
 1 0&lt;br /&gt;
T2.mtx&lt;br /&gt;
 01&lt;br /&gt;
T1T2intercept.mtx&lt;br /&gt;
 0.5 0.5&lt;br /&gt;
&lt;br /&gt;
=glm=&lt;br /&gt;
Command:&lt;br /&gt;
 mri_glmfit --surface fsaverage rh --glmdir g2v0 --y T1T2_ces.nii.gz --fsgd g2v0.fsgd --C GroupDiff.mtx --C GroupT1.mtx --C GroupT2.mtx --C GroupT1T2.intercept.mtx &lt;br /&gt;
&lt;br /&gt;
=Correct for multi comparisons=&lt;br /&gt;
Next:&lt;br /&gt;
 mri_glmfit-sim --glmdir g2v0 --cache 3 abs --cwpvalthresh .05&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ve got clusters and .annot files to load up and get sizes/means etc.&lt;br /&gt;
&lt;br /&gt;
Overlay&lt;br /&gt;
 tksurfer fsaverage lh pial&lt;br /&gt;
load overlay -&amp;gt; cache.th30.abs.sig.cluster.mgh&lt;br /&gt;
&lt;br /&gt;
cache.th30.abs.sig.cluster.summary contains cluster info.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can segment the cache.th30.abs.sig.cluster.annot file into desired clusters.&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Selxavg3-sess&amp;diff=1545</id>
		<title>Selxavg3-sess</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Selxavg3-sess&amp;diff=1545"/>
		<updated>2018-05-17T20:05:03Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Before you begin ==&lt;br /&gt;
Ensure that your BOLD data has the correct timing info. See [[Freesurfer_BOLD_files |Freesurfer BOLD files]] for information on changing the TR for your data. If your BOLD data files are not named &#039;f.nii&#039;, you likely have missed a step.&lt;br /&gt;
&lt;br /&gt;
== Running selxavg3-sess ==&lt;br /&gt;
This command runs a GLM regression on the BOLD time series for each run separately. This creates a 3D file that stores a statistic for each voxel for each experimental run that indicates how well the activity for that voxel conformed with a predicted time series associated with each of your experimental conditions. Assuming you have run all the previous steps in the [[FreeSurfer#FS-FAST_Setup_Overview | FS-FAST overview]], there will be one, two or three analysis directories in your $SUBJECTS_DIR, generated by [[Configure_mkanalysis-sess|mkanalysis-sess]]. These directories will contain all the information to perform surface-space analyses in your left/right or mni305 (voxel-space, for subcortical regions which are not included in the surface models) models. If you have configured contrasts using [[Configure_mkcontrast-sess|mkcontrast-sess]], then &#039;&#039;selxavg3-sess&#039;&#039; will perform the statistical condition contrasts you had specified in that step.&lt;br /&gt;
&lt;br /&gt;
=== Batch mode ===&lt;br /&gt;
If you want to run the same analysis on multiple participants in batch mode, you must first create a plain text file containing all the participant IDs (i.e., the folder names) for those you wish to analyze. If you ran [[Configure_preproc-sess|preproc-sess]] in batch mode, then you can simply reuse the sessid file you created for that purpose. See the preproc-sess instructions for creating that file. Batch mode uses the &amp;lt;code&amp;gt;-sf&amp;lt;/code&amp;gt; switch, which is the same as the switch used for running &#039;&#039;preproc-sess&#039;&#039; in batch mode.&lt;br /&gt;
 selxavg3-sess -sf &amp;lt;sessid_file&amp;gt; -analysis &amp;lt;analysis_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Individual mode ===&lt;br /&gt;
Alternatively, you may run the analysis on one participant at the time using the &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; switch, and providing a single participant ID name.&lt;br /&gt;
 selxavg3-sess -s &amp;lt;sessid&amp;gt; -analysis &amp;lt;analysis_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Here, we are going to run selxavg3-sess on a single participant (&amp;lt;code&amp;gt;FS_0001&amp;lt;/code&amp;gt;) for the analysis configuration found in the folder &amp;lt;code&amp;gt;$SUBJECTS_DIR/LDT.sm6.lh&amp;lt;/code&amp;gt;&lt;br /&gt;
 selxavg3-sess -s FS_0001 -analysis LDT.sm6.lh&lt;br /&gt;
Note that the analysis folder indicated in this example is configured only for the left hemisphere. You would most likely want to run this command a second time, and specify the configuration for the right hemisphere. In this way,  you will have run the analysis for both cortical hemispheres. A third execution of the command would be required to run analyses for subcortical regions found in MNI305.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== SVD input matrix contains NaN ===&lt;br /&gt;
I&#039;ve encountered this problem twice, only documenting the solution the second time. When running selxavg3-sess, you may encounter the following error:&lt;br /&gt;
 Creating Design Matrix&lt;br /&gt;
  ... creation time =  0.019 sec&lt;br /&gt;
 DoMCFit = 1&lt;br /&gt;
 ntptot = 2592, nX = 81, DOF = 2511&lt;br /&gt;
 Saving X matrix to /home/chris/SEM/FS_0231/bold/FAM.self.sm4.down.rh/Xtmp.mat&lt;br /&gt;
 Error using svd&lt;br /&gt;
 Input to SVD must not contain NaN or Inf.&lt;br /&gt;
 Error in cond (line 35)&lt;br /&gt;
    s = svd(A);&lt;br /&gt;
 Error in fast_selxavg3 (line 279)&lt;br /&gt;
  XCond = cond(XtX);&lt;br /&gt;
&lt;br /&gt;
The problem is that the Xn matrix generated from the .par files contains several columns of NaN. The root cause of this is when your par files are missing one or more of the conditions that are listed in the analysis. In the above error, the familiarity analysis includes 3 familiarity conditions: Familiar (1), Unfamiliar_Time1 (2) and Unfamiliar_Time2 (3). The &#039;&#039;FAM.par&#039;&#039; files that were produced by a Matlab script only differentiated between familiar and unfamiliar items, and consequently only contained conditions 1 and 2. &lt;br /&gt;
====Solution====&lt;br /&gt;
The solution was to find the &#039;&#039;FAM.par&#039;&#039; files associated with Time 2 (runs 007 to 012, when both time points are analyzed as a single 12-run session) and recode the 2s into 3s. After doing this, all was well with the world (aside from the geopolitical strife and environmental disasters).&lt;br /&gt;
This can be done fairly easily using &amp;lt;code&amp;gt;sed&amp;lt;/code&amp;gt; with the -i &amp;quot;in place&amp;quot; switch:&lt;br /&gt;
 sed -i &#039;s/\t2/\t3/g&#039; FAM.par&lt;br /&gt;
&lt;br /&gt;
More generally, this problem can occur if your condition codes don&#039;t start at 1. For example, you have 6 conditions and only want to compare 2 of them (e.g. 5 and 6), they need to be recoded as 1 and 2.&lt;br /&gt;
&lt;br /&gt;
=== ERROR: fast_selxavg3() ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ERROR: fast_selxavg3() failed\n&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Leading up to the error message, we see a message &amp;lt;code&amp;gt;Subscript indices must either be real positive integers or logicals.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we see messages that refer to indices in the context of an error message, this is often symptomatic of a mismatch between the amount of data available, and the data access request. For example, if only 252 volumes of data are present (numbered 1, 2, ..., 252) but a script or function is asked to access volume 253 or volume 0, then this will likely generate an error.&lt;br /&gt;
&lt;br /&gt;
If the same processing steps work fine with some data, but generate the above error for a particular dataset, check to see that there isn&#039;t something funny with the data. One potential culprit is the early termination of the BOLD sequence. For the LDT, which is self-paced, there were a few runs where the MRI acquisition stopped before the task ended. In this case, the timestamps for the runtime behavioral data will make reference to points in time outside of the scope of the MRI data. The scripts we use to generate the .par files from these runtime data have no way of knowing that these timestamps go past the end of the BOLD sequence.&lt;br /&gt;
==== Solution ====&lt;br /&gt;
Try manually editing the .par file by removing timestamps outside of the MRI acquisition. You will have to do some math (&#039;&#039;TR&#039;&#039; &amp;amp;times; &#039;&#039;Number of Volumes&#039;&#039;) to figure out what the last valid timestamp would be.&lt;br /&gt;
 editfslhd f.nii&lt;br /&gt;
For FS_0092, we see&lt;br /&gt;
 nt = &#039;252&#039;&lt;br /&gt;
 ...&lt;br /&gt;
 dt = &#039;2.047&#039;&lt;br /&gt;
So the latest possible timepoint is 515.8. Any .par file events past this point are not in the data.&lt;br /&gt;
&lt;br /&gt;
Also, while editing the .par file, ensure that any NaN values are set to a real number, which, now that I think of it, is another potential culprit (since NaN is neither a &#039;&#039;real positive integer or logical&#039;&#039;). The FSTSExtractor.m script uses RT as the event duration, but this value is set to NaN if the participant didn&#039;t respond. Set the NaN value to 0, but also set the weight (the last column) to 0 so that these null events aren&#039;t modeled. &lt;br /&gt;
&lt;br /&gt;
An update to the FSTSExtractor function will need to be made so that this problem doesn&#039;t pop up, but in the meantime, ensuring that the .par file timestamps are sensible and contain no NaN values fixes this problem. A fast way to find any NaN values:&lt;br /&gt;
 grep &amp;quot;NaN&amp;quot; `find ./ -name &amp;quot;LDT.par&amp;quot;`&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===ERROR: analysis.cfg does not exist ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This error occurs if you run the selxavg-sess function associated with older FS versions (e.g. check your command: selxavg-sess vs. selxavg3-sess). Freesurfer 5.x no longer creates an analysis.cfg file with the newer selxavg3-sess.&lt;br /&gt;
&lt;br /&gt;
== Check your results ==&lt;br /&gt;
You can look at the contrast results in the surface model in &#039;&#039;tksurfer&#039;&#039;. First, load the surface you want to overlay your results on. All of our examples have been done using the &#039;&#039;&#039;self&#039;&#039;&#039; surface, but it is possible to instead map data to the &#039;&#039;fsaverage&#039;&#039; template, which facilitates comparisons between individuals.&lt;br /&gt;
 tksurfer FS_T1_501 lh pial&lt;br /&gt;
Next, you will load the relevant statistical overlay. This file will be found in the subject folder in the &#039;&#039;&#039;bold&#039;&#039;&#039; subdirectory, which has an analysis folder for each analysis that you ran with selxavg3-sess. In this example, there are two folders:&lt;br /&gt;
*$SUBJECTS_DIR&lt;br /&gt;
**FS_T1_501&lt;br /&gt;
***bold&lt;br /&gt;
****booth500.sm6.lh&lt;br /&gt;
****booth500.sm6.rh&lt;br /&gt;
In each of these analysis folders are several compressed &#039;&#039;&#039;.nii.gz&#039;&#039;&#039; files. The statistical overlay you will want to overlay will depend on your interests, but most likely you will want to open up a diagnostic (i.e., easily interpretable) contrast map, which you will find in subdirectories within each of the analysis directories. In my case, I had run a word_vs_fix contrast which generated a t-statistic and f-statistic map. I chose to load the t-map for my left-hemisphere surface. To do so, I did the following:&lt;br /&gt;
#File&amp;gt;Load Overlay...&lt;br /&gt;
#Browse to $SUBJECTS_DIR/FS_T1_501/bold/booth500.sm6.lh/word_vs_fix/t.nii.gz&lt;br /&gt;
#Additional &#039;&#039;&#039;Registration&#039;&#039;&#039; information may be required to map each of the voxels on to your surface space.&lt;br /&gt;
#*When mapping voxels onto a self surface, it&#039;s safe to select the &#039;&#039;&#039;Find registration in data directory&#039;&#039;&#039;&lt;br /&gt;
#*When mapping voxels onto fsaverage, you can select the &#039;&#039;&#039;Compute Identity Matrix&#039;&#039;&#039; registration option.&lt;br /&gt;
#Click the &#039;&#039;&#039;OK&#039;&#039;&#039; button. In a moment you should see hot- and cold- colored blobs overlaid on the surface model. Depending on the nature of the contrast and your experience, you might be able to use this overlay to assess whether the data look reasonable. For example a contrast between button-press trials and rest should probably show a robust activation in left motor cortex (assuming right-handed participants).&lt;br /&gt;
&lt;br /&gt;
[[Category: FreeSurfer]]&lt;br /&gt;
[[Category: First Level Analysis]]&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Selxavg3-sess&amp;diff=1544</id>
		<title>Selxavg3-sess</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Selxavg3-sess&amp;diff=1544"/>
		<updated>2018-05-17T19:57:22Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* ERROR: analysis.cfg does not exist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Before you begin ==&lt;br /&gt;
Ensure that your BOLD data has the correct timing info. See [[Freesurfer_BOLD_files |Freesurfer BOLD files]] for information on changing the TR for your data. If your BOLD data files are not named &#039;f.nii&#039;, you likely have missed a step.&lt;br /&gt;
&lt;br /&gt;
== Running selxavg3-sess ==&lt;br /&gt;
This command runs a GLM regression on the BOLD time series for each run separately. This creates a 3D file that stores a statistic for each voxel for each experimental run that indicates how well the activity for that voxel conformed with a predicted time series associated with each of your experimental conditions. Assuming you have run all the previous steps in the [[FreeSurfer#FS-FAST_Setup_Overview | FS-FAST overview]], there will be one, two or three analysis directories in your $SUBJECTS_DIR, generated by [[Configure_mkanalysis-sess|mkanalysis-sess]]. These directories will contain all the information to perform surface-space analyses in your left/right or mni305 (voxel-space, for subcortical regions which are not included in the surface models) models. If you have configured contrasts using [[Configure_mkcontrast-sess|mkcontrast-sess]], then &#039;&#039;selxavg3-sess&#039;&#039; will perform the statistical condition contrasts you had specified in that step.&lt;br /&gt;
&lt;br /&gt;
=== Batch mode ===&lt;br /&gt;
If you want to run the same analysis on multiple participants in batch mode, you must first create a plain text file containing all the participant IDs (i.e., the folder names) for those you wish to analyze. If you ran [[Configure_preproc-sess|preproc-sess]] in batch mode, then you can simply reuse the sessid file you created for that purpose. See the preproc-sess instructions for creating that file. Batch mode uses the &amp;lt;code&amp;gt;-sf&amp;lt;/code&amp;gt; switch, which is the same as the switch used for running &#039;&#039;preproc-sess&#039;&#039; in batch mode.&lt;br /&gt;
 selxavg3-sess -sf &amp;lt;sessid_file&amp;gt; -analysis &amp;lt;analysis_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Individual mode ===&lt;br /&gt;
Alternatively, you may run the analysis on one participant at the time using the &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; switch, and providing a single participant ID name.&lt;br /&gt;
 selxavg3-sess -s &amp;lt;sessid&amp;gt; -analysis &amp;lt;analysis_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Here, we are going to run selxavg3-sess on a single participant (&amp;lt;code&amp;gt;FS_0001&amp;lt;/code&amp;gt;) for the analysis configuration found in the folder &amp;lt;code&amp;gt;$SUBJECTS_DIR/LDT.sm6.lh&amp;lt;/code&amp;gt;&lt;br /&gt;
 selxavg3-sess -s FS_0001 -analysis LDT.sm6.lh&lt;br /&gt;
Note that the analysis folder indicated in this example is configured only for the left hemisphere. You would most likely want to run this command a second time, and specify the configuration for the right hemisphere. In this way,  you will have run the analysis for both cortical hemispheres. A third execution of the command would be required to run analyses for subcortical regions found in MNI305.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== SVD input matrix contains NaN ===&lt;br /&gt;
I&#039;ve encountered this problem twice, only documenting the solution the second time. When running selxavg3-sess, you may encounter the following error:&lt;br /&gt;
 Creating Design Matrix&lt;br /&gt;
  ... creation time =  0.019 sec&lt;br /&gt;
 DoMCFit = 1&lt;br /&gt;
 ntptot = 2592, nX = 81, DOF = 2511&lt;br /&gt;
 Saving X matrix to /home/chris/SEM/FS_0231/bold/FAM.self.sm4.down.rh/Xtmp.mat&lt;br /&gt;
 Error using svd&lt;br /&gt;
 Input to SVD must not contain NaN or Inf.&lt;br /&gt;
 Error in cond (line 35)&lt;br /&gt;
    s = svd(A);&lt;br /&gt;
 Error in fast_selxavg3 (line 279)&lt;br /&gt;
  XCond = cond(XtX);&lt;br /&gt;
&lt;br /&gt;
The problem is that the Xn matrix generated from the .par files contains several columns of NaN. The root cause of this is when your par files are missing one or more of the conditions that are listed in the analysis. In the above error, the familiarity analysis includes 3 familiarity conditions: Familiar (1), Unfamiliar_Time1 (2) and Unfamiliar_Time2 (3). The &#039;&#039;FAM.par&#039;&#039; files that were produced by a Matlab script only differentiated between familiar and unfamiliar items, and consequently only contained conditions 1 and 2. &lt;br /&gt;
====Solution====&lt;br /&gt;
The solution was to find the &#039;&#039;FAM.par&#039;&#039; files associated with Time 2 (runs 007 to 012, when both time points are analyzed as a single 12-run session) and recode the 2s into 3s. After doing this, all was well with the world (aside from the geopolitical strife and environmental disasters).&lt;br /&gt;
This can be done fairly easily using &amp;lt;code&amp;gt;sed&amp;lt;/code&amp;gt; with the -i &amp;quot;in place&amp;quot; switch:&lt;br /&gt;
 sed -i &#039;s/\t2/\t3/g&#039; FAM.par&lt;br /&gt;
&lt;br /&gt;
=== ERROR: fast_selxavg3() ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ERROR: fast_selxavg3() failed\n&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Leading up to the error message, we see a message &amp;lt;code&amp;gt;Subscript indices must either be real positive integers or logicals.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we see messages that refer to indices in the context of an error message, this is often symptomatic of a mismatch between the amount of data available, and the data access request. For example, if only 252 volumes of data are present (numbered 1, 2, ..., 252) but a script or function is asked to access volume 253 or volume 0, then this will likely generate an error.&lt;br /&gt;
&lt;br /&gt;
If the same processing steps work fine with some data, but generate the above error for a particular dataset, check to see that there isn&#039;t something funny with the data. One potential culprit is the early termination of the BOLD sequence. For the LDT, which is self-paced, there were a few runs where the MRI acquisition stopped before the task ended. In this case, the timestamps for the runtime behavioral data will make reference to points in time outside of the scope of the MRI data. The scripts we use to generate the .par files from these runtime data have no way of knowing that these timestamps go past the end of the BOLD sequence.&lt;br /&gt;
==== Solution ====&lt;br /&gt;
Try manually editing the .par file by removing timestamps outside of the MRI acquisition. You will have to do some math (&#039;&#039;TR&#039;&#039; &amp;amp;times; &#039;&#039;Number of Volumes&#039;&#039;) to figure out what the last valid timestamp would be.&lt;br /&gt;
 editfslhd f.nii&lt;br /&gt;
For FS_0092, we see&lt;br /&gt;
 nt = &#039;252&#039;&lt;br /&gt;
 ...&lt;br /&gt;
 dt = &#039;2.047&#039;&lt;br /&gt;
So the latest possible timepoint is 515.8. Any .par file events past this point are not in the data.&lt;br /&gt;
&lt;br /&gt;
Also, while editing the .par file, ensure that any NaN values are set to a real number, which, now that I think of it, is another potential culprit (since NaN is neither a &#039;&#039;real positive integer or logical&#039;&#039;). The FSTSExtractor.m script uses RT as the event duration, but this value is set to NaN if the participant didn&#039;t respond. Set the NaN value to 0, but also set the weight (the last column) to 0 so that these null events aren&#039;t modeled. &lt;br /&gt;
&lt;br /&gt;
An update to the FSTSExtractor function will need to be made so that this problem doesn&#039;t pop up, but in the meantime, ensuring that the .par file timestamps are sensible and contain no NaN values fixes this problem. A fast way to find any NaN values:&lt;br /&gt;
 grep &amp;quot;NaN&amp;quot; `find ./ -name &amp;quot;LDT.par&amp;quot;`&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===ERROR: analysis.cfg does not exist ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This error occurs if you run the selxavg-sess function associated with older FS versions (e.g. check your command: selxavg-sess vs. selxavg3-sess). Freesurfer 5.x no longer creates an analysis.cfg file with the newer selxavg3-sess.&lt;br /&gt;
&lt;br /&gt;
== Check your results ==&lt;br /&gt;
You can look at the contrast results in the surface model in &#039;&#039;tksurfer&#039;&#039;. First, load the surface you want to overlay your results on. All of our examples have been done using the &#039;&#039;&#039;self&#039;&#039;&#039; surface, but it is possible to instead map data to the &#039;&#039;fsaverage&#039;&#039; template, which facilitates comparisons between individuals.&lt;br /&gt;
 tksurfer FS_T1_501 lh pial&lt;br /&gt;
Next, you will load the relevant statistical overlay. This file will be found in the subject folder in the &#039;&#039;&#039;bold&#039;&#039;&#039; subdirectory, which has an analysis folder for each analysis that you ran with selxavg3-sess. In this example, there are two folders:&lt;br /&gt;
*$SUBJECTS_DIR&lt;br /&gt;
**FS_T1_501&lt;br /&gt;
***bold&lt;br /&gt;
****booth500.sm6.lh&lt;br /&gt;
****booth500.sm6.rh&lt;br /&gt;
In each of these analysis folders are several compressed &#039;&#039;&#039;.nii.gz&#039;&#039;&#039; files. The statistical overlay you will want to overlay will depend on your interests, but most likely you will want to open up a diagnostic (i.e., easily interpretable) contrast map, which you will find in subdirectories within each of the analysis directories. In my case, I had run a word_vs_fix contrast which generated a t-statistic and f-statistic map. I chose to load the t-map for my left-hemisphere surface. To do so, I did the following:&lt;br /&gt;
#File&amp;gt;Load Overlay...&lt;br /&gt;
#Browse to $SUBJECTS_DIR/FS_T1_501/bold/booth500.sm6.lh/word_vs_fix/t.nii.gz&lt;br /&gt;
#Additional &#039;&#039;&#039;Registration&#039;&#039;&#039; information may be required to map each of the voxels on to your surface space.&lt;br /&gt;
#*When mapping voxels onto a self surface, it&#039;s safe to select the &#039;&#039;&#039;Find registration in data directory&#039;&#039;&#039;&lt;br /&gt;
#*When mapping voxels onto fsaverage, you can select the &#039;&#039;&#039;Compute Identity Matrix&#039;&#039;&#039; registration option.&lt;br /&gt;
#Click the &#039;&#039;&#039;OK&#039;&#039;&#039; button. In a moment you should see hot- and cold- colored blobs overlaid on the surface model. Depending on the nature of the contrast and your experience, you might be able to use this overlay to assess whether the data look reasonable. For example a contrast between button-press trials and rest should probably show a robust activation in left motor cortex (assuming right-handed participants).&lt;br /&gt;
&lt;br /&gt;
[[Category: FreeSurfer]]&lt;br /&gt;
[[Category: First Level Analysis]]&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Selxavg3-sess&amp;diff=1543</id>
		<title>Selxavg3-sess</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Selxavg3-sess&amp;diff=1543"/>
		<updated>2018-05-17T19:22:04Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* ERROR: analysis.cfg does not exist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Before you begin ==&lt;br /&gt;
Ensure that your BOLD data has the correct timing info. See [[Freesurfer_BOLD_files |Freesurfer BOLD files]] for information on changing the TR for your data. If your BOLD data files are not named &#039;f.nii&#039;, you likely have missed a step.&lt;br /&gt;
&lt;br /&gt;
== Running selxavg3-sess ==&lt;br /&gt;
This command runs a GLM regression on the BOLD time series for each run separately. This creates a 3D file that stores a statistic for each voxel for each experimental run that indicates how well the activity for that voxel conformed with a predicted time series associated with each of your experimental conditions. Assuming you have run all the previous steps in the [[FreeSurfer#FS-FAST_Setup_Overview | FS-FAST overview]], there will be one, two or three analysis directories in your $SUBJECTS_DIR, generated by [[Configure_mkanalysis-sess|mkanalysis-sess]]. These directories will contain all the information to perform surface-space analyses in your left/right or mni305 (voxel-space, for subcortical regions which are not included in the surface models) models. If you have configured contrasts using [[Configure_mkcontrast-sess|mkcontrast-sess]], then &#039;&#039;selxavg3-sess&#039;&#039; will perform the statistical condition contrasts you had specified in that step.&lt;br /&gt;
&lt;br /&gt;
=== Batch mode ===&lt;br /&gt;
If you want to run the same analysis on multiple participants in batch mode, you must first create a plain text file containing all the participant IDs (i.e., the folder names) for those you wish to analyze. If you ran [[Configure_preproc-sess|preproc-sess]] in batch mode, then you can simply reuse the sessid file you created for that purpose. See the preproc-sess instructions for creating that file. Batch mode uses the &amp;lt;code&amp;gt;-sf&amp;lt;/code&amp;gt; switch, which is the same as the switch used for running &#039;&#039;preproc-sess&#039;&#039; in batch mode.&lt;br /&gt;
 selxavg3-sess -sf &amp;lt;sessid_file&amp;gt; -analysis &amp;lt;analysis_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Individual mode ===&lt;br /&gt;
Alternatively, you may run the analysis on one participant at the time using the &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; switch, and providing a single participant ID name.&lt;br /&gt;
 selxavg3-sess -s &amp;lt;sessid&amp;gt; -analysis &amp;lt;analysis_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Here, we are going to run selxavg3-sess on a single participant (&amp;lt;code&amp;gt;FS_0001&amp;lt;/code&amp;gt;) for the analysis configuration found in the folder &amp;lt;code&amp;gt;$SUBJECTS_DIR/LDT.sm6.lh&amp;lt;/code&amp;gt;&lt;br /&gt;
 selxavg3-sess -s FS_0001 -analysis LDT.sm6.lh&lt;br /&gt;
Note that the analysis folder indicated in this example is configured only for the left hemisphere. You would most likely want to run this command a second time, and specify the configuration for the right hemisphere. In this way,  you will have run the analysis for both cortical hemispheres. A third execution of the command would be required to run analyses for subcortical regions found in MNI305.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== SVD input matrix contains NaN ===&lt;br /&gt;
I&#039;ve encountered this problem twice, only documenting the solution the second time. When running selxavg3-sess, you may encounter the following error:&lt;br /&gt;
 Creating Design Matrix&lt;br /&gt;
  ... creation time =  0.019 sec&lt;br /&gt;
 DoMCFit = 1&lt;br /&gt;
 ntptot = 2592, nX = 81, DOF = 2511&lt;br /&gt;
 Saving X matrix to /home/chris/SEM/FS_0231/bold/FAM.self.sm4.down.rh/Xtmp.mat&lt;br /&gt;
 Error using svd&lt;br /&gt;
 Input to SVD must not contain NaN or Inf.&lt;br /&gt;
 Error in cond (line 35)&lt;br /&gt;
    s = svd(A);&lt;br /&gt;
 Error in fast_selxavg3 (line 279)&lt;br /&gt;
  XCond = cond(XtX);&lt;br /&gt;
&lt;br /&gt;
The problem is that the Xn matrix generated from the .par files contains several columns of NaN. The root cause of this is when your par files are missing one or more of the conditions that are listed in the analysis. In the above error, the familiarity analysis includes 3 familiarity conditions: Familiar (1), Unfamiliar_Time1 (2) and Unfamiliar_Time2 (3). The &#039;&#039;FAM.par&#039;&#039; files that were produced by a Matlab script only differentiated between familiar and unfamiliar items, and consequently only contained conditions 1 and 2. &lt;br /&gt;
====Solution====&lt;br /&gt;
The solution was to find the &#039;&#039;FAM.par&#039;&#039; files associated with Time 2 (runs 007 to 012, when both time points are analyzed as a single 12-run session) and recode the 2s into 3s. After doing this, all was well with the world (aside from the geopolitical strife and environmental disasters).&lt;br /&gt;
This can be done fairly easily using &amp;lt;code&amp;gt;sed&amp;lt;/code&amp;gt; with the -i &amp;quot;in place&amp;quot; switch:&lt;br /&gt;
 sed -i &#039;s/\t2/\t3/g&#039; FAM.par&lt;br /&gt;
&lt;br /&gt;
=== ERROR: fast_selxavg3() ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ERROR: fast_selxavg3() failed\n&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Leading up to the error message, we see a message &amp;lt;code&amp;gt;Subscript indices must either be real positive integers or logicals.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we see messages that refer to indices in the context of an error message, this is often symptomatic of a mismatch between the amount of data available, and the data access request. For example, if only 252 volumes of data are present (numbered 1, 2, ..., 252) but a script or function is asked to access volume 253 or volume 0, then this will likely generate an error.&lt;br /&gt;
&lt;br /&gt;
If the same processing steps work fine with some data, but generate the above error for a particular dataset, check to see that there isn&#039;t something funny with the data. One potential culprit is the early termination of the BOLD sequence. For the LDT, which is self-paced, there were a few runs where the MRI acquisition stopped before the task ended. In this case, the timestamps for the runtime behavioral data will make reference to points in time outside of the scope of the MRI data. The scripts we use to generate the .par files from these runtime data have no way of knowing that these timestamps go past the end of the BOLD sequence.&lt;br /&gt;
==== Solution ====&lt;br /&gt;
Try manually editing the .par file by removing timestamps outside of the MRI acquisition. You will have to do some math (&#039;&#039;TR&#039;&#039; &amp;amp;times; &#039;&#039;Number of Volumes&#039;&#039;) to figure out what the last valid timestamp would be.&lt;br /&gt;
 editfslhd f.nii&lt;br /&gt;
For FS_0092, we see&lt;br /&gt;
 nt = &#039;252&#039;&lt;br /&gt;
 ...&lt;br /&gt;
 dt = &#039;2.047&#039;&lt;br /&gt;
So the latest possible timepoint is 515.8. Any .par file events past this point are not in the data.&lt;br /&gt;
&lt;br /&gt;
Also, while editing the .par file, ensure that any NaN values are set to a real number, which, now that I think of it, is another potential culprit (since NaN is neither a &#039;&#039;real positive integer or logical&#039;&#039;). The FSTSExtractor.m script uses RT as the event duration, but this value is set to NaN if the participant didn&#039;t respond. Set the NaN value to 0, but also set the weight (the last column) to 0 so that these null events aren&#039;t modeled. &lt;br /&gt;
&lt;br /&gt;
An update to the FSTSExtractor function will need to be made so that this problem doesn&#039;t pop up, but in the meantime, ensuring that the .par file timestamps are sensible and contain no NaN values fixes this problem. A fast way to find any NaN values:&lt;br /&gt;
 grep &amp;quot;NaN&amp;quot; `find ./ -name &amp;quot;LDT.par&amp;quot;`&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===ERROR: analysis.cfg does not exist ===&lt;br /&gt;
&lt;br /&gt;
Solution pending&lt;br /&gt;
 I found this error occurs if you run the selxavg-sess function associated with older FS versions (e.g. check your command: selxavg-sess vs. selxavg3-sess). Freesurfer 5.x no longer creates an analysis.cfg file. - Greg&lt;br /&gt;
&lt;br /&gt;
== Check your results ==&lt;br /&gt;
You can look at the contrast results in the surface model in &#039;&#039;tksurfer&#039;&#039;. First, load the surface you want to overlay your results on. All of our examples have been done using the &#039;&#039;&#039;self&#039;&#039;&#039; surface, but it is possible to instead map data to the &#039;&#039;fsaverage&#039;&#039; template, which facilitates comparisons between individuals.&lt;br /&gt;
 tksurfer FS_T1_501 lh pial&lt;br /&gt;
Next, you will load the relevant statistical overlay. This file will be found in the subject folder in the &#039;&#039;&#039;bold&#039;&#039;&#039; subdirectory, which has an analysis folder for each analysis that you ran with selxavg3-sess. In this example, there are two folders:&lt;br /&gt;
*$SUBJECTS_DIR&lt;br /&gt;
**FS_T1_501&lt;br /&gt;
***bold&lt;br /&gt;
****booth500.sm6.lh&lt;br /&gt;
****booth500.sm6.rh&lt;br /&gt;
In each of these analysis folders are several compressed &#039;&#039;&#039;.nii.gz&#039;&#039;&#039; files. The statistical overlay you will want to overlay will depend on your interests, but most likely you will want to open up a diagnostic (i.e., easily interpretable) contrast map, which you will find in subdirectories within each of the analysis directories. In my case, I had run a word_vs_fix contrast which generated a t-statistic and f-statistic map. I chose to load the t-map for my left-hemisphere surface. To do so, I did the following:&lt;br /&gt;
#File&amp;gt;Load Overlay...&lt;br /&gt;
#Browse to $SUBJECTS_DIR/FS_T1_501/bold/booth500.sm6.lh/word_vs_fix/t.nii.gz&lt;br /&gt;
#Additional &#039;&#039;&#039;Registration&#039;&#039;&#039; information may be required to map each of the voxels on to your surface space.&lt;br /&gt;
#*When mapping voxels onto a self surface, it&#039;s safe to select the &#039;&#039;&#039;Find registration in data directory&#039;&#039;&#039;&lt;br /&gt;
#*When mapping voxels onto fsaverage, you can select the &#039;&#039;&#039;Compute Identity Matrix&#039;&#039;&#039; registration option.&lt;br /&gt;
#Click the &#039;&#039;&#039;OK&#039;&#039;&#039; button. In a moment you should see hot- and cold- colored blobs overlaid on the surface model. Depending on the nature of the contrast and your experience, you might be able to use this overlay to assess whether the data look reasonable. For example a contrast between button-press trials and rest should probably show a robust activation in left motor cortex (assuming right-handed participants).&lt;br /&gt;
&lt;br /&gt;
[[Category: FreeSurfer]]&lt;br /&gt;
[[Category: First Level Analysis]]&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Selxavg3-sess&amp;diff=1542</id>
		<title>Selxavg3-sess</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Selxavg3-sess&amp;diff=1542"/>
		<updated>2018-05-17T19:21:53Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* ERROR: analysis.cfg does not exist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Before you begin ==&lt;br /&gt;
Ensure that your BOLD data has the correct timing info. See [[Freesurfer_BOLD_files |Freesurfer BOLD files]] for information on changing the TR for your data. If your BOLD data files are not named &#039;f.nii&#039;, you likely have missed a step.&lt;br /&gt;
&lt;br /&gt;
== Running selxavg3-sess ==&lt;br /&gt;
This command runs a GLM regression on the BOLD time series for each run separately. This creates a 3D file that stores a statistic for each voxel for each experimental run that indicates how well the activity for that voxel conformed with a predicted time series associated with each of your experimental conditions. Assuming you have run all the previous steps in the [[FreeSurfer#FS-FAST_Setup_Overview | FS-FAST overview]], there will be one, two or three analysis directories in your $SUBJECTS_DIR, generated by [[Configure_mkanalysis-sess|mkanalysis-sess]]. These directories will contain all the information to perform surface-space analyses in your left/right or mni305 (voxel-space, for subcortical regions which are not included in the surface models) models. If you have configured contrasts using [[Configure_mkcontrast-sess|mkcontrast-sess]], then &#039;&#039;selxavg3-sess&#039;&#039; will perform the statistical condition contrasts you had specified in that step.&lt;br /&gt;
&lt;br /&gt;
=== Batch mode ===&lt;br /&gt;
If you want to run the same analysis on multiple participants in batch mode, you must first create a plain text file containing all the participant IDs (i.e., the folder names) for those you wish to analyze. If you ran [[Configure_preproc-sess|preproc-sess]] in batch mode, then you can simply reuse the sessid file you created for that purpose. See the preproc-sess instructions for creating that file. Batch mode uses the &amp;lt;code&amp;gt;-sf&amp;lt;/code&amp;gt; switch, which is the same as the switch used for running &#039;&#039;preproc-sess&#039;&#039; in batch mode.&lt;br /&gt;
 selxavg3-sess -sf &amp;lt;sessid_file&amp;gt; -analysis &amp;lt;analysis_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Individual mode ===&lt;br /&gt;
Alternatively, you may run the analysis on one participant at the time using the &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; switch, and providing a single participant ID name.&lt;br /&gt;
 selxavg3-sess -s &amp;lt;sessid&amp;gt; -analysis &amp;lt;analysis_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Here, we are going to run selxavg3-sess on a single participant (&amp;lt;code&amp;gt;FS_0001&amp;lt;/code&amp;gt;) for the analysis configuration found in the folder &amp;lt;code&amp;gt;$SUBJECTS_DIR/LDT.sm6.lh&amp;lt;/code&amp;gt;&lt;br /&gt;
 selxavg3-sess -s FS_0001 -analysis LDT.sm6.lh&lt;br /&gt;
Note that the analysis folder indicated in this example is configured only for the left hemisphere. You would most likely want to run this command a second time, and specify the configuration for the right hemisphere. In this way,  you will have run the analysis for both cortical hemispheres. A third execution of the command would be required to run analyses for subcortical regions found in MNI305.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== SVD input matrix contains NaN ===&lt;br /&gt;
I&#039;ve encountered this problem twice, only documenting the solution the second time. When running selxavg3-sess, you may encounter the following error:&lt;br /&gt;
 Creating Design Matrix&lt;br /&gt;
  ... creation time =  0.019 sec&lt;br /&gt;
 DoMCFit = 1&lt;br /&gt;
 ntptot = 2592, nX = 81, DOF = 2511&lt;br /&gt;
 Saving X matrix to /home/chris/SEM/FS_0231/bold/FAM.self.sm4.down.rh/Xtmp.mat&lt;br /&gt;
 Error using svd&lt;br /&gt;
 Input to SVD must not contain NaN or Inf.&lt;br /&gt;
 Error in cond (line 35)&lt;br /&gt;
    s = svd(A);&lt;br /&gt;
 Error in fast_selxavg3 (line 279)&lt;br /&gt;
  XCond = cond(XtX);&lt;br /&gt;
&lt;br /&gt;
The problem is that the Xn matrix generated from the .par files contains several columns of NaN. The root cause of this is when your par files are missing one or more of the conditions that are listed in the analysis. In the above error, the familiarity analysis includes 3 familiarity conditions: Familiar (1), Unfamiliar_Time1 (2) and Unfamiliar_Time2 (3). The &#039;&#039;FAM.par&#039;&#039; files that were produced by a Matlab script only differentiated between familiar and unfamiliar items, and consequently only contained conditions 1 and 2. &lt;br /&gt;
====Solution====&lt;br /&gt;
The solution was to find the &#039;&#039;FAM.par&#039;&#039; files associated with Time 2 (runs 007 to 012, when both time points are analyzed as a single 12-run session) and recode the 2s into 3s. After doing this, all was well with the world (aside from the geopolitical strife and environmental disasters).&lt;br /&gt;
This can be done fairly easily using &amp;lt;code&amp;gt;sed&amp;lt;/code&amp;gt; with the -i &amp;quot;in place&amp;quot; switch:&lt;br /&gt;
 sed -i &#039;s/\t2/\t3/g&#039; FAM.par&lt;br /&gt;
&lt;br /&gt;
=== ERROR: fast_selxavg3() ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ERROR: fast_selxavg3() failed\n&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Leading up to the error message, we see a message &amp;lt;code&amp;gt;Subscript indices must either be real positive integers or logicals.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we see messages that refer to indices in the context of an error message, this is often symptomatic of a mismatch between the amount of data available, and the data access request. For example, if only 252 volumes of data are present (numbered 1, 2, ..., 252) but a script or function is asked to access volume 253 or volume 0, then this will likely generate an error.&lt;br /&gt;
&lt;br /&gt;
If the same processing steps work fine with some data, but generate the above error for a particular dataset, check to see that there isn&#039;t something funny with the data. One potential culprit is the early termination of the BOLD sequence. For the LDT, which is self-paced, there were a few runs where the MRI acquisition stopped before the task ended. In this case, the timestamps for the runtime behavioral data will make reference to points in time outside of the scope of the MRI data. The scripts we use to generate the .par files from these runtime data have no way of knowing that these timestamps go past the end of the BOLD sequence.&lt;br /&gt;
==== Solution ====&lt;br /&gt;
Try manually editing the .par file by removing timestamps outside of the MRI acquisition. You will have to do some math (&#039;&#039;TR&#039;&#039; &amp;amp;times; &#039;&#039;Number of Volumes&#039;&#039;) to figure out what the last valid timestamp would be.&lt;br /&gt;
 editfslhd f.nii&lt;br /&gt;
For FS_0092, we see&lt;br /&gt;
 nt = &#039;252&#039;&lt;br /&gt;
 ...&lt;br /&gt;
 dt = &#039;2.047&#039;&lt;br /&gt;
So the latest possible timepoint is 515.8. Any .par file events past this point are not in the data.&lt;br /&gt;
&lt;br /&gt;
Also, while editing the .par file, ensure that any NaN values are set to a real number, which, now that I think of it, is another potential culprit (since NaN is neither a &#039;&#039;real positive integer or logical&#039;&#039;). The FSTSExtractor.m script uses RT as the event duration, but this value is set to NaN if the participant didn&#039;t respond. Set the NaN value to 0, but also set the weight (the last column) to 0 so that these null events aren&#039;t modeled. &lt;br /&gt;
&lt;br /&gt;
An update to the FSTSExtractor function will need to be made so that this problem doesn&#039;t pop up, but in the meantime, ensuring that the .par file timestamps are sensible and contain no NaN values fixes this problem. A fast way to find any NaN values:&lt;br /&gt;
 grep &amp;quot;NaN&amp;quot; `find ./ -name &amp;quot;LDT.par&amp;quot;`&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===ERROR: analysis.cfg does not exist ===&lt;br /&gt;
&lt;br /&gt;
Solution pending&lt;br /&gt;
 I found this error occurs if you run the selxavg-sess function associated with older FS versions (e.g. check your command: selxavg-sess vs. selxavg3-sess). Freesurfer 5.x no longer creates an analysis.cfg file.&lt;br /&gt;
&lt;br /&gt;
== Check your results ==&lt;br /&gt;
You can look at the contrast results in the surface model in &#039;&#039;tksurfer&#039;&#039;. First, load the surface you want to overlay your results on. All of our examples have been done using the &#039;&#039;&#039;self&#039;&#039;&#039; surface, but it is possible to instead map data to the &#039;&#039;fsaverage&#039;&#039; template, which facilitates comparisons between individuals.&lt;br /&gt;
 tksurfer FS_T1_501 lh pial&lt;br /&gt;
Next, you will load the relevant statistical overlay. This file will be found in the subject folder in the &#039;&#039;&#039;bold&#039;&#039;&#039; subdirectory, which has an analysis folder for each analysis that you ran with selxavg3-sess. In this example, there are two folders:&lt;br /&gt;
*$SUBJECTS_DIR&lt;br /&gt;
**FS_T1_501&lt;br /&gt;
***bold&lt;br /&gt;
****booth500.sm6.lh&lt;br /&gt;
****booth500.sm6.rh&lt;br /&gt;
In each of these analysis folders are several compressed &#039;&#039;&#039;.nii.gz&#039;&#039;&#039; files. The statistical overlay you will want to overlay will depend on your interests, but most likely you will want to open up a diagnostic (i.e., easily interpretable) contrast map, which you will find in subdirectories within each of the analysis directories. In my case, I had run a word_vs_fix contrast which generated a t-statistic and f-statistic map. I chose to load the t-map for my left-hemisphere surface. To do so, I did the following:&lt;br /&gt;
#File&amp;gt;Load Overlay...&lt;br /&gt;
#Browse to $SUBJECTS_DIR/FS_T1_501/bold/booth500.sm6.lh/word_vs_fix/t.nii.gz&lt;br /&gt;
#Additional &#039;&#039;&#039;Registration&#039;&#039;&#039; information may be required to map each of the voxels on to your surface space.&lt;br /&gt;
#*When mapping voxels onto a self surface, it&#039;s safe to select the &#039;&#039;&#039;Find registration in data directory&#039;&#039;&#039;&lt;br /&gt;
#*When mapping voxels onto fsaverage, you can select the &#039;&#039;&#039;Compute Identity Matrix&#039;&#039;&#039; registration option.&lt;br /&gt;
#Click the &#039;&#039;&#039;OK&#039;&#039;&#039; button. In a moment you should see hot- and cold- colored blobs overlaid on the surface model. Depending on the nature of the contrast and your experience, you might be able to use this overlay to assess whether the data look reasonable. For example a contrast between button-press trials and rest should probably show a robust activation in left motor cortex (assuming right-handed participants).&lt;br /&gt;
&lt;br /&gt;
[[Category: FreeSurfer]]&lt;br /&gt;
[[Category: First Level Analysis]]&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Selxavg3-sess&amp;diff=1541</id>
		<title>Selxavg3-sess</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Selxavg3-sess&amp;diff=1541"/>
		<updated>2018-05-17T19:21:16Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* ERROR: analysis.cfg does not exist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Before you begin ==&lt;br /&gt;
Ensure that your BOLD data has the correct timing info. See [[Freesurfer_BOLD_files |Freesurfer BOLD files]] for information on changing the TR for your data. If your BOLD data files are not named &#039;f.nii&#039;, you likely have missed a step.&lt;br /&gt;
&lt;br /&gt;
== Running selxavg3-sess ==&lt;br /&gt;
This command runs a GLM regression on the BOLD time series for each run separately. This creates a 3D file that stores a statistic for each voxel for each experimental run that indicates how well the activity for that voxel conformed with a predicted time series associated with each of your experimental conditions. Assuming you have run all the previous steps in the [[FreeSurfer#FS-FAST_Setup_Overview | FS-FAST overview]], there will be one, two or three analysis directories in your $SUBJECTS_DIR, generated by [[Configure_mkanalysis-sess|mkanalysis-sess]]. These directories will contain all the information to perform surface-space analyses in your left/right or mni305 (voxel-space, for subcortical regions which are not included in the surface models) models. If you have configured contrasts using [[Configure_mkcontrast-sess|mkcontrast-sess]], then &#039;&#039;selxavg3-sess&#039;&#039; will perform the statistical condition contrasts you had specified in that step.&lt;br /&gt;
&lt;br /&gt;
=== Batch mode ===&lt;br /&gt;
If you want to run the same analysis on multiple participants in batch mode, you must first create a plain text file containing all the participant IDs (i.e., the folder names) for those you wish to analyze. If you ran [[Configure_preproc-sess|preproc-sess]] in batch mode, then you can simply reuse the sessid file you created for that purpose. See the preproc-sess instructions for creating that file. Batch mode uses the &amp;lt;code&amp;gt;-sf&amp;lt;/code&amp;gt; switch, which is the same as the switch used for running &#039;&#039;preproc-sess&#039;&#039; in batch mode.&lt;br /&gt;
 selxavg3-sess -sf &amp;lt;sessid_file&amp;gt; -analysis &amp;lt;analysis_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Individual mode ===&lt;br /&gt;
Alternatively, you may run the analysis on one participant at the time using the &amp;lt;code&amp;gt;-s&amp;lt;/code&amp;gt; switch, and providing a single participant ID name.&lt;br /&gt;
 selxavg3-sess -s &amp;lt;sessid&amp;gt; -analysis &amp;lt;analysis_dir&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
Here, we are going to run selxavg3-sess on a single participant (&amp;lt;code&amp;gt;FS_0001&amp;lt;/code&amp;gt;) for the analysis configuration found in the folder &amp;lt;code&amp;gt;$SUBJECTS_DIR/LDT.sm6.lh&amp;lt;/code&amp;gt;&lt;br /&gt;
 selxavg3-sess -s FS_0001 -analysis LDT.sm6.lh&lt;br /&gt;
Note that the analysis folder indicated in this example is configured only for the left hemisphere. You would most likely want to run this command a second time, and specify the configuration for the right hemisphere. In this way,  you will have run the analysis for both cortical hemispheres. A third execution of the command would be required to run analyses for subcortical regions found in MNI305.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== SVD input matrix contains NaN ===&lt;br /&gt;
I&#039;ve encountered this problem twice, only documenting the solution the second time. When running selxavg3-sess, you may encounter the following error:&lt;br /&gt;
 Creating Design Matrix&lt;br /&gt;
  ... creation time =  0.019 sec&lt;br /&gt;
 DoMCFit = 1&lt;br /&gt;
 ntptot = 2592, nX = 81, DOF = 2511&lt;br /&gt;
 Saving X matrix to /home/chris/SEM/FS_0231/bold/FAM.self.sm4.down.rh/Xtmp.mat&lt;br /&gt;
 Error using svd&lt;br /&gt;
 Input to SVD must not contain NaN or Inf.&lt;br /&gt;
 Error in cond (line 35)&lt;br /&gt;
    s = svd(A);&lt;br /&gt;
 Error in fast_selxavg3 (line 279)&lt;br /&gt;
  XCond = cond(XtX);&lt;br /&gt;
&lt;br /&gt;
The problem is that the Xn matrix generated from the .par files contains several columns of NaN. The root cause of this is when your par files are missing one or more of the conditions that are listed in the analysis. In the above error, the familiarity analysis includes 3 familiarity conditions: Familiar (1), Unfamiliar_Time1 (2) and Unfamiliar_Time2 (3). The &#039;&#039;FAM.par&#039;&#039; files that were produced by a Matlab script only differentiated between familiar and unfamiliar items, and consequently only contained conditions 1 and 2. &lt;br /&gt;
====Solution====&lt;br /&gt;
The solution was to find the &#039;&#039;FAM.par&#039;&#039; files associated with Time 2 (runs 007 to 012, when both time points are analyzed as a single 12-run session) and recode the 2s into 3s. After doing this, all was well with the world (aside from the geopolitical strife and environmental disasters).&lt;br /&gt;
This can be done fairly easily using &amp;lt;code&amp;gt;sed&amp;lt;/code&amp;gt; with the -i &amp;quot;in place&amp;quot; switch:&lt;br /&gt;
 sed -i &#039;s/\t2/\t3/g&#039; FAM.par&lt;br /&gt;
&lt;br /&gt;
=== ERROR: fast_selxavg3() ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ERROR: fast_selxavg3() failed\n&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Leading up to the error message, we see a message &amp;lt;code&amp;gt;Subscript indices must either be real positive integers or logicals.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we see messages that refer to indices in the context of an error message, this is often symptomatic of a mismatch between the amount of data available, and the data access request. For example, if only 252 volumes of data are present (numbered 1, 2, ..., 252) but a script or function is asked to access volume 253 or volume 0, then this will likely generate an error.&lt;br /&gt;
&lt;br /&gt;
If the same processing steps work fine with some data, but generate the above error for a particular dataset, check to see that there isn&#039;t something funny with the data. One potential culprit is the early termination of the BOLD sequence. For the LDT, which is self-paced, there were a few runs where the MRI acquisition stopped before the task ended. In this case, the timestamps for the runtime behavioral data will make reference to points in time outside of the scope of the MRI data. The scripts we use to generate the .par files from these runtime data have no way of knowing that these timestamps go past the end of the BOLD sequence.&lt;br /&gt;
==== Solution ====&lt;br /&gt;
Try manually editing the .par file by removing timestamps outside of the MRI acquisition. You will have to do some math (&#039;&#039;TR&#039;&#039; &amp;amp;times; &#039;&#039;Number of Volumes&#039;&#039;) to figure out what the last valid timestamp would be.&lt;br /&gt;
 editfslhd f.nii&lt;br /&gt;
For FS_0092, we see&lt;br /&gt;
 nt = &#039;252&#039;&lt;br /&gt;
 ...&lt;br /&gt;
 dt = &#039;2.047&#039;&lt;br /&gt;
So the latest possible timepoint is 515.8. Any .par file events past this point are not in the data.&lt;br /&gt;
&lt;br /&gt;
Also, while editing the .par file, ensure that any NaN values are set to a real number, which, now that I think of it, is another potential culprit (since NaN is neither a &#039;&#039;real positive integer or logical&#039;&#039;). The FSTSExtractor.m script uses RT as the event duration, but this value is set to NaN if the participant didn&#039;t respond. Set the NaN value to 0, but also set the weight (the last column) to 0 so that these null events aren&#039;t modeled. &lt;br /&gt;
&lt;br /&gt;
An update to the FSTSExtractor function will need to be made so that this problem doesn&#039;t pop up, but in the meantime, ensuring that the .par file timestamps are sensible and contain no NaN values fixes this problem. A fast way to find any NaN values:&lt;br /&gt;
 grep &amp;quot;NaN&amp;quot; `find ./ -name &amp;quot;LDT.par&amp;quot;`&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===ERROR: analysis.cfg does not exist ===&lt;br /&gt;
&lt;br /&gt;
Solution pending&lt;br /&gt;
 I found this error occurs if you run the selxavg-sess function associated with older FS versions (e.g. check your command: selxavg-sess vs. selxavg3-sess).&lt;br /&gt;
&lt;br /&gt;
== Check your results ==&lt;br /&gt;
You can look at the contrast results in the surface model in &#039;&#039;tksurfer&#039;&#039;. First, load the surface you want to overlay your results on. All of our examples have been done using the &#039;&#039;&#039;self&#039;&#039;&#039; surface, but it is possible to instead map data to the &#039;&#039;fsaverage&#039;&#039; template, which facilitates comparisons between individuals.&lt;br /&gt;
 tksurfer FS_T1_501 lh pial&lt;br /&gt;
Next, you will load the relevant statistical overlay. This file will be found in the subject folder in the &#039;&#039;&#039;bold&#039;&#039;&#039; subdirectory, which has an analysis folder for each analysis that you ran with selxavg3-sess. In this example, there are two folders:&lt;br /&gt;
*$SUBJECTS_DIR&lt;br /&gt;
**FS_T1_501&lt;br /&gt;
***bold&lt;br /&gt;
****booth500.sm6.lh&lt;br /&gt;
****booth500.sm6.rh&lt;br /&gt;
In each of these analysis folders are several compressed &#039;&#039;&#039;.nii.gz&#039;&#039;&#039; files. The statistical overlay you will want to overlay will depend on your interests, but most likely you will want to open up a diagnostic (i.e., easily interpretable) contrast map, which you will find in subdirectories within each of the analysis directories. In my case, I had run a word_vs_fix contrast which generated a t-statistic and f-statistic map. I chose to load the t-map for my left-hemisphere surface. To do so, I did the following:&lt;br /&gt;
#File&amp;gt;Load Overlay...&lt;br /&gt;
#Browse to $SUBJECTS_DIR/FS_T1_501/bold/booth500.sm6.lh/word_vs_fix/t.nii.gz&lt;br /&gt;
#Additional &#039;&#039;&#039;Registration&#039;&#039;&#039; information may be required to map each of the voxels on to your surface space.&lt;br /&gt;
#*When mapping voxels onto a self surface, it&#039;s safe to select the &#039;&#039;&#039;Find registration in data directory&#039;&#039;&#039;&lt;br /&gt;
#*When mapping voxels onto fsaverage, you can select the &#039;&#039;&#039;Compute Identity Matrix&#039;&#039;&#039; registration option.&lt;br /&gt;
#Click the &#039;&#039;&#039;OK&#039;&#039;&#039; button. In a moment you should see hot- and cold- colored blobs overlaid on the surface model. Depending on the nature of the contrast and your experience, you might be able to use this overlay to assess whether the data look reasonable. For example a contrast between button-press trials and rest should probably show a robust activation in left motor cortex (assuming right-handed participants).&lt;br /&gt;
&lt;br /&gt;
[[Category: FreeSurfer]]&lt;br /&gt;
[[Category: First Level Analysis]]&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1531</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1531"/>
		<updated>2018-05-09T14:35:31Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
[[File:DevNeuroConcepts.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
Formatting Info:&lt;br /&gt;
https://www.mediawiki.org/wiki/Help:Images&lt;br /&gt;
&lt;br /&gt;
===Local Storage===&lt;br /&gt;
&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Wikicommons Images===&lt;br /&gt;
https://commons.wikimedia.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
[[Image:Brodmann areas 3D.png|20px]]&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1530</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1530"/>
		<updated>2018-05-09T14:30:41Z</updated>

		<summary type="html">&lt;p&gt;Greg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
[[File:DevNeuro_concepts.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
Formatting Info:&lt;br /&gt;
https://www.mediawiki.org/wiki/Help:Images&lt;br /&gt;
&lt;br /&gt;
===Local Storage===&lt;br /&gt;
&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Wikicommons Images===&lt;br /&gt;
https://commons.wikimedia.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
[[Image:Brodmann areas 3D.png|20px]]&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=BASH_Tricks&amp;diff=1524</id>
		<title>BASH Tricks</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=BASH_Tricks&amp;diff=1524"/>
		<updated>2018-03-12T15:46:40Z</updated>

		<summary type="html">&lt;p&gt;Greg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Make a list of directory names ==&lt;br /&gt;
We often organize subject data so that each subject gets their own directory. Freesurfer uses a &#039;&#039;&#039;subjects&#039;&#039;&#039; file when batch processing. Rather than manually type out each folder name into a text file, it can be generated in one line of code:&lt;br /&gt;
 ls -1 -d */ | sed &#039;s\/\\g&#039; &amp;gt; subjects&lt;br /&gt;
This lists in 1 column all the directories (-1 -d) and uses &#039;&#039;sed&#039;&#039; to snip off the trailing forward slashes in the directory names&lt;br /&gt;
&lt;br /&gt;
== Restart Window Manager ==&lt;br /&gt;
This has happened a couple times before: you step away from the computer for awhile (maybe even overnight) and when you come back, you find it is locked up and completely unresponsive. The nuclear option is to reboot the whole machine:&lt;br /&gt;
 sudo shutdown -r now #Sad for anyone running autorecon or a neural network&lt;br /&gt;
Unfortunately, that will stop anything that might be running in the background. A less severe solution might be to just restart the window manager. To do this you will need to ssh into the locked-up computer from a different computer, and then restart the lightdm process. This will require superuser privileges.&lt;br /&gt;
 ssh &#039;&#039;hostname&#039;&#039;&lt;br /&gt;
Then after you have connected to the frozen computer:&lt;br /&gt;
 sudo restart lightdm&lt;br /&gt;
Any processes that were dependent on the window manager will be terminated (e.g., so if you had been in the middle of editing labels in tksurfer, you will find that tksurfer has been shutdown and you will need to start over), however anything that was running in the background (e.g., autorecon) should be unaffected.&lt;br /&gt;
&lt;br /&gt;
==Renaming Multiple Files==&lt;br /&gt;
If you don&#039;t have access to the rename command (Mac OSX), you can fake it:&lt;br /&gt;
 PREFIX=LO&lt;br /&gt;
 for file in `find . -name &amp;quot;*.txt&amp;quot;`; do mv ${file##*/} ${PREFIX}_${file##*/}; done&lt;br /&gt;
Source: [https://stackoverflow.com/questions/2664740/extract-file-basename-without-path-and-extension-in-bash]&lt;br /&gt;
&lt;br /&gt;
==Replacing Text in Multiple Files==&lt;br /&gt;
 sed -i &#039;s/oldtext/newtext/g&#039; *.ext&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1517</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1517"/>
		<updated>2018-03-03T19:09:09Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* = */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
Formatting Info:&lt;br /&gt;
https://www.mediawiki.org/wiki/Help:Images&lt;br /&gt;
&lt;br /&gt;
===Local Storage===&lt;br /&gt;
&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Wikicommons Images===&lt;br /&gt;
https://commons.wikimedia.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
[[Image:Brain_Brodmann_blend.gif]]&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1516</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1516"/>
		<updated>2018-03-03T19:08:34Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* Images */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
Formatting Info:&lt;br /&gt;
https://www.mediawiki.org/wiki/Help:Images&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Wikicommons Images===&lt;br /&gt;
https://commons.wikimedia.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
[[Image:Brain_Brodmann_blend.gif]]&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1515</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1515"/>
		<updated>2018-03-03T19:08:06Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* = */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
https://www.mediawiki.org/wiki/Help:Images&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Wikicommons Images===&lt;br /&gt;
https://commons.wikimedia.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
[[Image:Brain_Brodmann_blend.gif]]&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1514</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1514"/>
		<updated>2018-03-03T19:07:07Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* = */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
https://www.mediawiki.org/wiki/Help:Images&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[media:picard-meets-xenomorphs-in-new-comic.jpg|link:http://cdn2.darkhorizons.com/wp-content/uploads/2016/10/]]&lt;br /&gt;
&lt;br /&gt;
===Wikicommons Images===&lt;br /&gt;
https://commons.wikimedia.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
[[Image:Brain_Brodmann_blend.gif]]&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1513</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1513"/>
		<updated>2018-03-03T19:06:38Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* = */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
https://www.mediawiki.org/wiki/Help:Images&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[media:http://cdn2.darkhorizons.com/wp-content/uploads/2016/10/picard-meets-xenomorphs-in-new-comic.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Wikicommons Images===&lt;br /&gt;
https://commons.wikimedia.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
[[Image:Brain_Brodmann_blend.gif]]&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1512</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1512"/>
		<updated>2018-03-03T19:05:55Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* Mediawiki Images */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
https://www.mediawiki.org/wiki/Help:Images&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
http://cdn2.darkhorizons.com/wp-content/uploads/2016/10/picard-meets-xenomorphs-in-new-comic.jpg&lt;br /&gt;
&lt;br /&gt;
===Wikicommons Images===&lt;br /&gt;
https://commons.wikimedia.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
[[Image:Brain_Brodmann_blend.gif]]&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1511</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1511"/>
		<updated>2018-03-03T19:04:24Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* Mediawiki Images */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
https://www.mediawiki.org/wiki/Help:Images&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
http://cdn2.darkhorizons.com/wp-content/uploads/2016/10/picard-meets-xenomorphs-in-new-comic.jpg&lt;br /&gt;
&lt;br /&gt;
===Mediawiki Images===&lt;br /&gt;
&lt;br /&gt;
[[Image:Wiki.png|link=MediaWiki]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Brain_Brodmann_blend.gif]]&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1510</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1510"/>
		<updated>2018-03-03T18:58:21Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* Mediawiki Images */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
https://www.mediawiki.org/wiki/Help:Images&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
http://cdn2.darkhorizons.com/wp-content/uploads/2016/10/picard-meets-xenomorphs-in-new-comic.jpg&lt;br /&gt;
&lt;br /&gt;
===Mediawiki Images===&lt;br /&gt;
&lt;br /&gt;
[[Image:Wiki.png|link=MediaWiki]]&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1509</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1509"/>
		<updated>2018-03-03T18:58:04Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* = */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
https://www.mediawiki.org/wiki/Help:Images&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
http://cdn2.darkhorizons.com/wp-content/uploads/2016/10/picard-meets-xenomorphs-in-new-comic.jpg&lt;br /&gt;
&lt;br /&gt;
===Mediawiki Images===&lt;br /&gt;
&lt;br /&gt;
[[Image:Wiki.png|50px|link=MediaWiki]]&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1508</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1508"/>
		<updated>2018-03-03T18:57:16Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* Images */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
https://www.mediawiki.org/wiki/Help:Images&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
http://cdn2.darkhorizons.com/wp-content/uploads/2016/10/picard-meets-xenomorphs-in-new-comic.jpg&lt;br /&gt;
&lt;br /&gt;
===Mediawiki Images===&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1507</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1507"/>
		<updated>2018-03-03T18:51:18Z</updated>

		<summary type="html">&lt;p&gt;Greg: /* Images */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
[[File:cpicard.jpg]]&lt;br /&gt;
&lt;br /&gt;
===Mediawiki Images===&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1506</id>
		<title>Developmental Neuroscience</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=Developmental_Neuroscience&amp;diff=1506"/>
		<updated>2018-03-03T18:50:08Z</updated>

		<summary type="html">&lt;p&gt;Greg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Overview=&lt;br /&gt;
&lt;br /&gt;
==Principles==&lt;br /&gt;
&lt;br /&gt;
==Individual Differences==&lt;br /&gt;
&lt;br /&gt;
==Disorders==&lt;br /&gt;
&lt;br /&gt;
=Synapses=&lt;br /&gt;
&lt;br /&gt;
==Epigenetics==&lt;br /&gt;
&lt;br /&gt;
==Circuit Development==&lt;br /&gt;
&lt;br /&gt;
=Plasticity=&lt;br /&gt;
&lt;br /&gt;
==Homeostatic Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Functional Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensory Plasticity==&lt;br /&gt;
&lt;br /&gt;
==Sensitive Periods==&lt;br /&gt;
&lt;br /&gt;
==Environmental Enrichment==&lt;br /&gt;
&lt;br /&gt;
=Behavior=&lt;br /&gt;
&lt;br /&gt;
==Consciousness==&lt;br /&gt;
&lt;br /&gt;
==Play==&lt;br /&gt;
&lt;br /&gt;
==Language Learning==&lt;br /&gt;
&lt;br /&gt;
=Intervention=&lt;br /&gt;
&lt;br /&gt;
==Sensory Substitution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Formatting Guide=&lt;br /&gt;
 Click [https://www.mediawiki.org/wiki/Help:Formatting here] for a guide to formatting using wiki markup.&lt;br /&gt;
&lt;br /&gt;
=Demo=&lt;br /&gt;
&lt;br /&gt;
== Accessing the Page ==&lt;br /&gt;
===Location===&lt;br /&gt;
===User and Password===&lt;br /&gt;
&lt;br /&gt;
== Edits ==&lt;br /&gt;
====Micro====&lt;br /&gt;
====Macro====&lt;br /&gt;
&lt;br /&gt;
===Fonts===&lt;br /&gt;
&#039;&#039;italic&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;bold&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;bold &amp;amp; italic&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
a&lt;br /&gt;
 block  -- useful for displaying code/figures/etc.&lt;br /&gt;
this&lt;br /&gt;
is&lt;br /&gt;
also&lt;br /&gt;
a&lt;br /&gt;
 block&lt;br /&gt;
 with&lt;br /&gt;
 some&lt;br /&gt;
 more &lt;br /&gt;
 lines&lt;br /&gt;
&lt;br /&gt;
==Images==&lt;br /&gt;
[[File:CCNLOGO.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Levels - 2 ==&lt;br /&gt;
=== Level 3 ===&lt;br /&gt;
==== Level 4 ====&lt;br /&gt;
===== Level 5 =====&lt;br /&gt;
====== Level 6 ======&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
	<entry>
		<id>https://ccn-wiki.caset.buffalo.edu/index.php?title=CCN_Wiki:Terms_of_Service&amp;diff=1460</id>
		<title>CCN Wiki:Terms of Service</title>
		<link rel="alternate" type="text/html" href="https://ccn-wiki.caset.buffalo.edu/index.php?title=CCN_Wiki:Terms_of_Service&amp;diff=1460"/>
		<updated>2018-02-13T19:05:05Z</updated>

		<summary type="html">&lt;p&gt;Greg: Created page with &amp;quot;Account requests are currently not functioning as intended. For now, ask Greg or Chris to set you up with an account, or send an email request to ubccnlab@gmail.com&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Account requests are currently not functioning as intended. For now, ask Greg or Chris to set you up with an account, or send an email request to ubccnlab@gmail.com&lt;/div&gt;</summary>
		<author><name>Greg</name></author>
	</entry>
</feed>