|
7 | 7 | blankfile = DataFile('fcs', [stem0312 'blank_P3.fcs']); |
8 | 8 |
|
9 | 9 | % Autodetect gating with an N-dimensional gaussian-mixture-model |
10 | | -AGP = AutogateParameters(); |
11 | | -% Adjust AGP values if needed. The most common adjustments are below: |
12 | | -% These are the most common values to adjust: |
13 | | -% Match t |
14 | | -%AGP.channel_names = {'FSC-A','SSC-A','FSC-H','FSC-W','SSC-H','SSC-W'}; |
| 10 | +% Adjust gating values if needed. The most common adjustments are below: |
| 11 | +% Channels to be used: |
| 12 | +%TASBEConfig.set('gating.channelNames') = {'FSC-A','SSC-A','FSC-H','FSC-W','SSC-H','SSC-W'}; |
15 | 13 | % Typically two components: one tight single-cell component, one diffuse |
16 | 14 | % non-cell or clump component. More complex distributions may need more. |
17 | | -%AGP.k_components = 2; |
18 | | -%AGP.selected_components = [1]; |
19 | | -autogate = GMMGating(blankfile,AGP,'plots'); |
| 15 | +%TASBEConfig.set('gating.kComponents') = 2; |
| 16 | +%TASBEConfig.set('selectedComponents') = [1]; |
| 17 | +autogate = GMMGating(blankfile); |
20 | 18 |
|
21 | 19 | % Create one channel / colorfile pair for each color |
22 | 20 | channels = {}; colorfiles = {}; |
|
60 | 58 | % sizebeadfile = '../example_controls/180614_PPS6K_A02.fcs'; |
61 | 59 |
|
62 | 60 | CM = ColorModel(beadfile, blankfile, channels, colorfiles, colorpairfiles, sizebeadfile); |
63 | | -CM=set_translation_plot(CM, true); |
64 | | -CM=set_noise_plot(CM, true); |
65 | 61 |
|
66 | 62 | TASBEConfig.set('beads.beadModel','SpheroTech RCP-30-5A'); % Entry from BeadCatalog.xls matching your beads |
67 | 63 | TASBEConfig.set('beads.beadBatch','Lot AA01, AA02, AA03, AA04, AB01, AB02, AC01, GAA01-R'); % Entry from BeadCatalog.xls containing your lot |
|
76 | 72 | %TASBEConfig.set('beads.peakThreshold', 200); |
77 | 73 | CM=set_ERF_channel_name(CM, 'FITC-A'); |
78 | 74 | % Ignore channel data for ith channel if below 10^[value(i)] |
79 | | -CM=set_translation_channel_min(CM,[2,2,2]); |
| 75 | +TASBEConfig.set('colortranslation.channelMinimum',[2,2,2]); |
80 | 76 |
|
81 | 77 | % Configuration for size beads, if used |
82 | 78 | % TASBEConfig.set('sizebeads.beadModel','SpheroTech PPS-6K'); % Entry from BeadCatalog.xls matching your beads |
|
0 commit comments