You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#. **Subject List - [path]:** Full path to a list of subjects to be included in the model. This should be a text file with one subject per line. A list in this format containing all subjects run through CPAC was generated along with the main CPAC subject list (see subject_list_group_analysis.txt). Another easy way to manually create this file is to copy the subjects column from your Regressor/EV spreadsheet.
36
+
#. **Subject List - [path]:** Full path to a list of subjects to be included in the model. This should be a text file with one subject per line. A list in this format containing all subjects run through CPAC was generated along with the main CPAC subject list (see the subject list in `Overview`). Another easy way to manually create this file is to copy the subjects column from your Regressor/EV spreadsheet.
32
37
33
-
#. **Phenotype/EV File -[path]:** Full path to a .csv file containing EV information for each subject. Tip: A file in this format (containing a single column listing all subjects run through CPAC) was generated along with the main CPAC subject list (see template_phenotypic.csv).
38
+
#. **Phenotype/EV File -[path]:** Full path to a .csv file containing EV information for each subject. A file in this format (containing a single column listing all subjects run through CPAC) was generated along with the main CPAC subject list (see the phenotype file in `Overview`). Levels for categorical variables in this file can be expressed as words ('ADHD'/'TD') or numerical values (0/1) depending on your preferences.
34
39
35
40
#. **Subjects Column Name [text]:** Name of the subjects column in your EV file.
36
41
@@ -73,7 +78,7 @@ Specifying Contrasts
73
78
* **>** Greater than
74
79
* **+** Positive
75
80
* **-** Negative
76
-
For categorical contrasts, use the + and - operators. Using a phenotype file with two groups coded as 1 or 2 will produce an EV for 'group2'. 'group2+' will perform the contrast 'group 2 > group 1' and 'group2-' will perform the contrast 'group 1 > group 2'. Using these two operators avoids issues of multicollinearity introduced by dummy coding.
81
+
For categorical contrasts, use the + and - operators. Using a phenotype file with two groups coded as 'ADHD' or 'TD' will produce an EV for 'TD'. 'diagnosisTD+' will perform the contrast 'TD > ADHD' and 'diagnosisTD-' will perform the contrast 'ADHD > TD'. Using these two operators avoids issues of multicollinearity introduced by dummy coding.
77
82
78
83
#. **f-Tests - [checkboxes]:** Define an f-test by selecting two or more contrasts to include. When you are done, select the f-tests that you wish to run.
<h2>Configuring CPAC to Run FSL Group Analysis<aclass="headerlink" href="#configuring-cpac-to-run-fsl-group-analysis" title="Permalink to this headline">¶</a></h2>
@@ -72,8 +77,8 @@ <h3>Specifying Models to Run<a class="headerlink" href="#specifying-models-to-ru
<li><strong>Subject List - [path]:</strong> Full path to a list of subjects to be included in the model. This should be a text file with one subject per line. A list in this format containing all subjects run through CPAC was generated along with the main CPAC subject list (see subject_list_group_analysis.txt). Another easy way to manually create this file is to copy the subjects column from your Regressor/EV spreadsheet.</li>
76
-
<li><strong>Phenotype/EV File -[path]:</strong> Full path to a .csv file containing EV information for each subject. Tip: A file in this format (containing a single column listing all subjects run through CPAC) was generated along with the main CPAC subject list (see template_phenotypic.csv).</li>
80
+
<li><strong>Subject List - [path]:</strong> Full path to a list of subjects to be included in the model. This should be a text file with one subject per line. A list in this format containing all subjects run through CPAC was generated along with the main CPAC subject list (see the subject list in <cite>Overview</cite>). Another easy way to manually create this file is to copy the subjects column from your Regressor/EV spreadsheet.</li>
81
+
<li><strong>Phenotype/EV File -[path]:</strong> Full path to a .csv file containing EV information for each subject. A file in this format (containing a single column listing all subjects run through CPAC) was generated along with the main CPAC subject list (see the phenotype file in <cite>Overview</cite>). Levels for categorical variables in this file can be expressed as words (‘ADHD’/’TD’) or numerical values (0/1) depending on your preferences.</li>
77
82
<li><strong>Subjects Column Name [text]:</strong> Name of the subjects column in your EV file.</li>
78
83
<li><strong>Model Setup - [checkboxes]:</strong> A list of EVs from your phenotype file will populate in this window. From here, you can select whether the EVs should be treated as categorical or if they should be demeaned (continuous/non-categorical EVs only). ‘MeanFD’ and ‘Measure Mean’ will also appear in this window automatically as options to be used as regressors that can be included in your model design. Note that the MeanFD and mean of measure values are automatically calculated and supplied by C-PAC via individual-level analysis. Also, MeanFD and mean of measure values are automatically demeaned prior to being inserted into the group analysis model.</li>
79
84
<li><strong>Design Matrix Formula - [Patsy formula]:</strong> Specify the formula to describe your model design. Essentially, including EVs in this formula inserts them into the model. The most basic format to include each EV you select would be ‘EV + EV + EV + ..’, etc. You can also select to include MeanFD and Measure_Mean here. Note that this design formula is pre-generated for the user depending on the EVs in the phenotype file, but can be edited at any time. C-PAC uses the Python library Patsy to generate the design matrices, so more information on how to format your design formula for specific designs can be found here- <aclass="reference external" href="https://patsy.readthedocs.org/en/latest/formulas.html">Patsy formula documentation</a>. If you have used R in the past, Patsy’s formula syntax should be familiar.</li>
@@ -107,7 +112,7 @@ <h3>Specifying Contrasts<a class="headerlink" href="#specifying-contrasts" title
107
112
<li><strong>+</strong> Positive</li>
108
113
<li><strong>-</strong> Negative</li>
109
114
</ul>
110
-
<pclass="last">For categorical contrasts, use the + and - operators. Using a phenotype file with two groups coded as 1 or 2 will produce an EV for ‘group2’. ‘group2+’ will perform the contrast ‘group 2 > group 1’ and ‘group2-‘ will perform the contrast ‘group 1 > group 2’. Using these two operators avoids issues of multicollinearity introduced by dummy coding.</p>
115
+
<pclass="last">For categorical contrasts, use the + and - operators. Using a phenotype file with two groups coded as ‘ADHD’ or ‘TD’ will produce an EV for ‘TD’. ‘diagnosisTD+’ will perform the contrast ‘TD > ADHD’ and ‘diagnosisTD-‘ will perform the contrast ‘ADHD > TD’. Using these two operators avoids issues of multicollinearity introduced by dummy coding.</p>
0 commit comments