|
44 | 44 | function analysis = AnalysisCON_BUT(id, label, notes, cohort, measurements, randomcomparisons, comparisons, varargin) |
45 | 45 | % AnalysisCON_BUT(ID, LABEL, NOTES, COHORT, MEASUREMENTS, RANDOMCOMPARISON, COMPARISONS) |
46 | 46 | % creates a connectivity analysis of fixed threshold with ID, LABEL, |
47 | | - % COHORT, MEASUREMENTS, RANDOMCOMPARISON and COMPARISONS. It |
| 47 | + % COHORT, MEASUREMENTS, RANDOMCOMPARISON and COMPARISONS. It |
48 | 48 | % initializes the ANALYSISST_WU with default settings. |
49 | 49 | % |
50 | 50 | % AnalysisCON_BUT(ID, LABEL, NOTES, COHORT, MEASUREMENTS, RANDOMCOMPARISON, COMPARISONS, PROPERTY, VALUE, ...) |
|
53 | 53 | % initializes the ANALYSISST_WU with specified settings VALUES. |
54 | 54 | % |
55 | 55 | % See also MeasurementCON_WU, RandomComparisonCON_WU, ComparisonCON_WU. |
56 | | - |
| 56 | + |
57 | 57 | analysis = analysis@AnalysisCON_WU(id, label, notes, cohort, measurements, randomcomparisons, comparisons, varargin{:}); |
58 | 58 | end |
59 | 59 | end |
|
65 | 65 | % creates a measurement ID with the ANALYSIS class, the |
66 | 66 | % MEASURE_CODE, the GROUP and the THRESHOLD. |
67 | 67 | % |
68 | | - % See also getRandomComparisonID, getComparisonID. |
| 68 | + % See also getRandomComparisonID, getComparisonID. |
69 | 69 |
|
70 | 70 | measurement_id = getMeasurementID@AnalysisCON_WU(analysis, measure_code, group, varargin{:}); |
71 | 71 |
|
72 | 72 | threshold = get_from_varargin(0, 'threshold', varargin{:}); |
73 | | - measurement_id = [measurement_id ' threshold=' num2str(threshold)]; |
| 73 | + measurement_id = [measurement_id ' threshold=' num2str(threshold)]; |
74 | 74 | end |
75 | 75 | function randomcomparison_id = getRandomComparisonID(analysis, measure_code, group, varargin) |
76 | 76 | % GETRANDOMCOMPARISONID returns a random comparison ID |
|
79 | 79 | % creates a random comparison ID with the ANALYSIS class, the |
80 | 80 | % MEASURE_CODE, the GROUP and the THRESHOLD. |
81 | 81 | % |
82 | | - % See also getMeasurementID, getComparisonID. |
83 | | - |
| 82 | + % See also getMeasurementID, getComparisonID. |
| 83 | + |
84 | 84 | randomcomparison_id = getRandomComparisonID@AnalysisCON_WU(analysis, measure_code, group, varargin{:}); |
85 | 85 |
|
86 | 86 | threshold = get_from_varargin(0, 'threshold', varargin{:}); |
|
142 | 142 |
|
143 | 143 | graph_type = analysis.getGraphType(); |
144 | 144 | graph = Graph.getGraph(graph_type, A); |
145 | | - end |
| 145 | + end |
146 | 146 | end |
147 | 147 | methods (Static) % Descriptive functions |
148 | 148 | function analysis_class = getClass() |
|
182 | 182 | function graph_type = getGraphType() |
183 | 183 | % GETGRAPHTYPE returns the compatible type of graph |
184 | 184 | % |
185 | | - % GRAPH_TYPE = GETGRAPHTYPE() returns the compatible type of |
| 185 | + % GRAPH_TYPE = GETGRAPHTYPE() returns the compatible type of |
186 | 186 | % graph 'GraphBU'. |
187 | 187 | % |
188 | 188 | % See also getSubjectClass. |
|
221 | 221 | comparison_class = 'ComparisonCON_BUT'; |
222 | 222 | end |
223 | 223 | end |
224 | | - methods % plot methods |
| 224 | + methods % plot methods |
225 | 225 | function p = getGlobalMeasurePlot(analysis, ui_parent_panel, ui_parent_axes, measure_code, group, subject, varargin) %#ok<INUSL> |
226 | 226 | % GETGLOBALMEASUREPLOT creates a uipanel to contain a plot |
227 | 227 | % |
|
231 | 231 | % |
232 | 232 | % See also getGraphPanel, getGlobalPanel. |
233 | 233 |
|
234 | | - X = analysis.selectMeasurements(measure_code, group, '.getThreshold()'); |
| 234 | + X = analysis.selectMeasurements(measure_code, group, '.getThreshold()'); |
235 | 235 | if subject == 1 |
236 | 236 | Y = analysis.selectMeasurements(measure_code, group, '.getGroupAverageValue()'); |
237 | | - else |
| 237 | + else |
238 | 238 | measurements = analysis.selectMeasurements(measure_code, group, '.getMeasureValues()'); |
239 | 239 | Y = cellfun(@(x) x(subject-1), measurements); |
240 | 240 | end |
|
0 commit comments