source: prdatasets/flowcyto.m @ 158

Last change on this file since 158 was 151, checked in by bduin, 5 years ago
File size: 1.4 KB
Line 
1%FLOWCYTO Load 4 flow-cytometry datasets.
2%
3%   A = FLOWCYTO(N)
4%
5% These datasets are based on 612 FL3-A DNA flowcytometer histograms
6% from breast cancer tissues in 256 resolution. The initial data have been
7% acquired by M. Nap and N. van Rodijnen of the Atrium Medical Center in
8% Heerlen, The Netherlands, during 2000-2004, using tubes 3-6 of a DACO
9% Galaxy flowcytometer (N = 1-4). Histograms are labeled in 3 classes:
10% aneuploid (335 patients), diploid (131) and tetraploid (146). The first
11% and the last bin (1 and 256) are set to 0, as they contsin noise. After
12% that histograms are normalized (sum to one) resulting in a dataset with
13% 254 features.
14%
15% The four datasets are aligned for the same patients, but are based on
16% different measurements.
17%
18% SEE ALSO
19% PRTOOLS, DATASETS
20
21% Copyright: R.P.W. Duin
22
23
24function a = flowcyto(n)
25
26if nargin < 1 || isempty(n)
27  n = 0;
28end
29
30if any(n<0) || any(n>4)
31  error('Dataset number should be larger than 0 and smaller than 5')
32end
33
34a = pr_loadmatfile(['flowcyto_' num2str(n)]);
35if isempty(a)
36  d = pr_getdata('http://prtools.tudelft.nl/prdatasets/FlowCyto_sort.mat',5);
37  matfile = fullfile(fullfile(fileparts(which(mfilename)),'data'),'flowcyto');
38  b = [];
39  for i=1:4
40    a = setname(prdataset(d{i}),['Flow Cytometry Tube_' num2str(i+2)]);
41    save([matfile '_' num2str(i)],'a');
42    b = [b a];
43  end
44  a = setname(b,'Flow Cytometry');
45  save([matfile '_0'],'a');
46  a = pr_loadmatfile(['flowcyto_' num2str(n)]);
47end
Note: See TracBrowser for help on using the repository browser.