-
Notifications
You must be signed in to change notification settings - Fork 3
/
myplot.m
111 lines (92 loc) · 3.13 KB
/
myplot.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
% ********************** Plotting Yeast results *************************
figure
subplot (2,2,1)
FResnik= resnik(:,1);
TResnik=resnik(:,2);
% plot(RMFGO,PMFGO,'LineWidth',2.5); hold on
Fonto2vec=onto2vec(:,1);
Tonto2vec=onto2vec(:,2);
% plot (RMFPPI, PMFPPI, 'LineWidth', 2.5); hold on
Fnoreasn=onto2vec_noReasn(:,1);
Tnoreasn=onto2vec_noReasn(:,2);
% plot (RMFMOT, PMFMOT, 'LineWidth', 2.5); hold on
FAddvec=Onto_AddVec(:,1);
TAddvec=Onto_AddVec(:,2);
% plot (RMFNAI, PMFNAI, 'LineWidth',2.5); hold on
FBMA=Onto_BMA(:,1);
TBMA=Onto_BMA(:,2);
% plot (RMFLOM, PMFLOM, 'LineWidth', 2.5); hold on
FBG=BinaryGo (:,1);% ********************** Plotting Yeast results *************************
figure
subplot (2,2,1)
FResnik= resnik(:,1);
TResnik=resnik(:,2);
% plot(RMFGO,PMFGO,'LineWidth',2.5); hold on
Fonto2vec=onto2vec(:,1);
Tonto2vec=onto2vec(:,2);
% plot (RMFPPI, PMFPPI, 'LineWidth', 2.5); hold on
Fnoreasn=onto2vec_noReasn(:,1);
Tnoreasn=onto2vec_noReasn(:,2);
% plot (RMFMOT, PMFMOT, 'LineWidth', 2.5); hold on
FAddvec=Onto_AddVec(:,1);
TAddvec=Onto_AddVec(:,2);
% plot (RMFNAI, PMFNAI, 'LineWidth',2.5); hold on
FBMA=Onto_BMA(:,1);
TBMA=Onto_BMA(:,2);
% plot (RMFLOM, PMFLOM, 'LineWidth', 2.5); hold on
FBG=BinaryGo (:,1);
TBG=BinaryGo(:,2);
% plot (RMFHHS, PMFHHS,'LineWidth',2.5); hold on
%
% RMFING=MFING (:,1);
% PMFING=MFING (:,2);
% % plot (RMFING, PMFING , 'LineWidth', 2.5);hold on;
%
% RMFBLAS= MFBLAS (:,1);
% PMFBLAS= MFBLAS (:,2);
plot (Fonto2vec, Tonto2vec, FResnik,TResnik,Fnoreasn,Tnoreasn, FAddvec, TAddvec,FBMA, TBMA, FBG, TBG, 'LineWidth', 1.5);
grid on;
xlabel('False Positive Rate')
ylabel('True Positive Rate')
xlim([0 1])
ylim([0 1])
title ('Yeast')
% ********************** Plotting Human results *************************
subplot (2,2,2)
hFResnik= hresnik(:,1);
hTResnik=hresnik(:,2);
% plot(RMFGO,PMFGO,'LineWidth',2.5); hold on
hFonto2vec=honto2vec(:,1);
hTonto2vec=honto2vec(:,2);
% plot (RMFPPI, PMFPPI, 'LineWidth', 2.5); hold on
hFnoreasn=honto2vec_noReasn(:,1);
hTnoreasn=honto2vec_noReasn(:,2);
% plot (RMFMOT, PMFMOT, 'LineWidth', 2.5); hold on
hFAddvec=hAdd_Vec(:,1);
hTAddvec=hAdd_Vec(:,2);
% plot (RMFNAI, PMFNAI, 'LineWidth',2.5); hold on
hFBMA=hOnto_BMA(:,1);
hTBMA=hOnto_BMA(:,2);
% plot (RMFLOM, PMFLOM, 'LineWidth', 2.5); hold on
hFBG=hBinaryGO (:,1);
hTBG=hBinaryGO(:,2);
plot ( hFonto2vec, hTonto2vec,hFResnik,hTResnik,hFnoreasn,hTnoreasn, hFAddvec, hTAddvec,hFBMA, hTBMA, hFBG, hTBG, 'LineWidth', 1.5);
grid on;
xlabel('False Postive Rate')
ylabel('True Positive Rate')
xlim([0 1])
ylim([0 1])
title ('Human')
% % ********************** Plotting BP results *************************
hsub= subplot (2,2,3);
plot (1,1,1,1,1,1,1,1,1,1,1,1,1,1,'LineWidth',1.5 );
axis off;
hlegend=legend ('Onto2Vec','Resnik', 'Onto2Vec\_NoReasoner', 'Onto\_AddVec','Onto\_BMA', 'BinaryGO');
set (hlegend, 'position', get(hsub, 'position'));
set (gcf, 'color','w');
set(gca,'Color','w')
whitebg('white')
% set(gcf, 'Position',' [pos(1) pos(2) width*200, height*200]'); %<- Set size
set (gcf, 'color','w');
% set(gca, 'FontSize', fsz, 'LineWidth', alw); %<- Set properties
print('/home/smailif/Documents/PROT2VEC/unsupervised3','-dpng','-r300');