Skip to content

Commit 80e2d83

Browse files
authored
Merge pull request #54 from TASBE/features/issue.158
include size beads
2 parents 40b6855 + f0a2053 commit 80e2d83

File tree

6 files changed

+19
-7
lines changed

6 files changed

+19
-7
lines changed
1.62 MB
Binary file not shown.
69.7 KB
Binary file not shown.
-116 KB
Binary file not shown.
44.2 KB
Binary file not shown.

template_colormodel/CM120312.mat

905 Bytes
Binary file not shown.

template_colormodel/make_color_model.m

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@
3737
channels{3} = setLineSpec(channels{3}, 'b');
3838
colorfiles{3} = [stem0312 'ebfp2_P3.fcs'];
3939

40-
% FSC and SSC channels can be added to be read unprocessed.
41-
%channels{4} = Channel('FSC-A', 488, 488, 10);
42-
%channels{4} = setPrintName(channels{4}, 'FSC');
43-
%channels{4} = setLineSpec(channels{4}, 'k');
44-
% If the name is FSC or SSC (or one of those with '-A', '-H', or '-W') it will automatically be unprocessed; otherwise, set it
45-
%channels{4} = setIsUnprocessed(channels{4}), true);
40+
% FSC and SSC channels can be added to be read unprocessed to MEFL
41+
% channels{4} = Channel('FSC-A', 488, 488, 10);
42+
% channels{4} = setPrintName(channels{4}, 'FSC');
43+
% channels{4} = setLineSpec(channels{4}, 'k');
44+
% If the name is FSC or SSC (or one of those with '-A', '-H', or '-W') it will automatically be unprocessed; otherwise, set it
45+
% channels{4} = setIsUnprocessed(channels{4}, true);
4646

4747

4848
% Multi-color controls are used for converting other colors into ERF units
@@ -54,7 +54,12 @@
5454
colorpairfiles{1} = {channels{1}, channels{2}, channels{3}, [stem0312 'mkate_EBFP2_EYFP_P3.fcs']};
5555
colorpairfiles{2} = {channels{1}, channels{3}, channels{2}, [stem0312 'mkate_EBFP2_EYFP_P3.fcs']};
5656

57-
CM = ColorModel(beadfile, blankfile, channels, colorfiles, colorpairfiles);
57+
% Size bead files are used for processing FSC-A units into um equivalent diameter
58+
% They are optional, and will not be used if size bead file is not set
59+
sizebeadfile = [];
60+
% sizebeadfile = '../example_controls/180614_PPS6K_A02.fcs';
61+
62+
CM = ColorModel(beadfile, blankfile, channels, colorfiles, colorpairfiles, sizebeadfile);
5863
CM=set_translation_plot(CM, true);
5964
CM=set_noise_plot(CM, true);
6065

@@ -73,6 +78,13 @@
7378
% Ignore channel data for ith channel if below 10^[value(i)]
7479
CM=set_translation_channel_min(CM,[2,2,2]);
7580

81+
% Configuration for size beads, if used
82+
% TASBEConfig.set('sizebeads.beadModel','SpheroTech PPS-6K'); % Entry from BeadCatalog.xls matching your beads
83+
% Can also set bead channel or batch, if alternatives are available
84+
% Ignore all size bead data below 10^[rangeMin] as being too "smeared" with noise
85+
% TASBEConfig.set('sizebeads.rangeMin', 2);
86+
% CM=set_um_channel_name(CM, 'FSC-A');
87+
7688
% When dealing with very strong fluorescence, use secondary channel to segment
7789
% TASBEConfig.set('beads.secondaryBeadChannel','PE-Tx-Red-YG-A');
7890
CM = add_prefilter(CM,autogate);

0 commit comments

Comments
 (0)