Skip to content

Commit d8c76d3

Browse files
authored
Merge pull request #35 from TASBE/coverney.issue105
Edited plusminus template for issue 105
2 parents 62aa84c + f9505fc commit d8c76d3

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

template_analysis/plusminus_template.m

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,21 @@
2828
% If your distribution is more complex or less complex, you can change the number of components
2929
% AP=setNumGaussianComponents(AP,3);
3030

31-
% Make a map of the batches of plus/minus comparisons to test
31+
% Make a map of the batches comparisons to test, add in a list of batch
32+
% names (e.g., {'+', '-'}) to signify possible sets.
3233
% This analysis supports two variables: a +/- variable and a "tuning" variable
3334
stem1011 = '../example_assay/LacI-CAGop_';
3435
batch_description = {...
35-
{'Lows';'BaseDox';
36+
{'Lows';'BaseDox';{'+', '-', 'control'};
3637
% First set is the matching "plus" conditions
37-
{0.1, {[stem1011 'B9_B09_P3.fcs']}; % Replicates go here, e.g., {[rep1], [rep2], [rep3]}
38-
0.2, {[stem1011 'B10_B10_P3.fcs']}};
38+
{0.1, {[stem1011 'C3_C03_P3.fcs']}; % Replicates go here, e.g., {[rep1], [rep2], [rep3]}
39+
0.2, {[stem1011 'C4_C04_P3.fcs']}};
3940
% Second set is the matching "minus" conditions
4041
{0.1, {[stem1011 'B3_B03_P3.fcs']};
41-
0.2, {[stem1011 'B4_B04_P3.fcs']}}};
42-
{'Highs';'BaseDox';
42+
0.2, {[stem1011 'B4_B04_P3.fcs']}};
43+
{0.1, {[stem1011 'B9_B09_P3.fcs']}; % Replicates go here, e.g., {[rep1], [rep2], [rep3]}
44+
0.2, {[stem1011 'B10_B10_P3.fcs']}}};
45+
{'Highs';'BaseDox';{'+', '-'};
4346
{10, {[stem1011 'C3_C03_P3.fcs']};
4447
20, {[stem1011 'C4_C04_P3.fcs']}};
4548
{10, {[stem1011 'B9_B09_P3.fcs']};
@@ -55,7 +58,7 @@
5558
TASBEConfig.set('OutputSettings.StemName',batch_description{i}{1});
5659
TASBEConfig.set('OutputSettings.DeviceName',device_name);
5760
TASBEConfig.set('OutputSettings.PlotTickMarks',1);
58-
plot_plusminus_comparison(results{i})
61+
plot_plusminus_comparison(results{i}, batch_description{i}{3});
5962
end
6063

6164
save('-V7','LacI-CAGop-plus-minus.mat','batch_description','AP','results');

0 commit comments

Comments
 (0)