-
Notifications
You must be signed in to change notification settings - Fork 0
/
convertToRawVolume_multiOwn.m
45 lines (40 loc) · 1.49 KB
/
convertToRawVolume_multiOwn.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
baseline_noises = [0, 200, 500];
protein_noises = [0, 0.1, 0.2];
protein_densities = [1e-6, 1e-7, 1e-8];
channelCounts = [3 4 5 6];
cellCounts = [5 9 13];
expansion_factor = '1.0';
baseline_noise = baseline_noises(1);
protein_noise = protein_noises(1);
protein_density = protein_densities(1);
for cC = 1:length(cellCounts)
cellCount = cellCounts(cC);
for ch = 1:length(channelCounts)
channelCount = channelCounts(ch);
convert_raw_volume(cellCount, channelCount, baseline_noise, protein_noise, protein_density, expansion_factor)
end
end
cellCount = cellCounts(2);
for bn = 2:length(baseline_noises)
baseline_noise = baseline_noises(bn);
for ch = 1:length(channelCounts)
channelCount = channelCounts(ch);
convert_raw_volume(cellCount, channelCount, baseline_noise, protein_noise, protein_density, expansion_factor)
end
end
baseline_noise = baseline_noises(1);
for pn = 2:length(protein_noises)
protein_noise = protein_noises(pn);
for ch = 1:length(channelCounts)
channelCount = channelCounts(ch);
convert_raw_volume(cellCount, channelCount, baseline_noise, protein_noise, protein_density, expansion_factor)
end
end
protein_noise = protein_noises(1);
for pd = 2:length(protein_densities)
protein_density = protein_densities(pd);
for ch = 1:length(channelCounts)
channelCount = channelCounts(ch);
convert_raw_volume(cellCount, channelCount, baseline_noise, protein_noise, protein_density, expansion_factor)
end
end