-
Notifications
You must be signed in to change notification settings - Fork 92
/
demPlotModels.m
38 lines (34 loc) · 1.01 KB
/
demPlotModels.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
% DEMPLOTMODELS Plot sample model figures appearing in the paper
% FORMAT
% DESC Plot sample model figures appearing in the paper
%
% COPYRIGHT : Antti Honkela, 2009
% SHEFFIELDML
drosLoadData;
tf = 'twi';
plottargets0 = {'FBgn0003486', 'FBgn0033188', 'FBgn0035257'};
plottargets = {};
close all;
for k=1:length(plottargets0),
plottargets{k} = drosexp.probes{drosFindGeneinds(drosexp, plottargets0(k))};
if ~exist('m'),
m{k} = drosGpdisimLearn(drosexp, drosTF, tf, plottargets{k});
end
end
for k=1:length(plottargets0);
drosPlot(m{k}, length(plottargets0), k)
end
figure(3);
set(gcf, 'PaperUnits', 'centimeters')
set(gcf, 'PaperPosition', [0, 0, 10, 6])
% print -depsc2 dros_gpdisim_singletarget_models
fprintf('Press any key to continue...');
pause;
if ~exist('m_multiplot'),
m_multiplot = drosGpdisimLearn(drosexp, drosTF, tf, plottargets);
end
close all; drosPlot(m_multiplot)
figure(3);
set(gcf, 'PaperUnits', 'centimeters')
set(gcf, 'PaperPosition', [0, 0, 10, 6])
% print -depsc2 dros_gpdisim_multitarget_model