-
Notifications
You must be signed in to change notification settings - Fork 3
/
bsacomp.m
58 lines (39 loc) · 1.11 KB
/
bsacomp.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
bsad=csvread('X:\Elite\Mohmd\bsad.csv')
bsat=csvread('X:\Elite\Mohmd\bsat.csv')
%hist(bsat(bsat(:,1)>0,1),[100])
hist(bsat(:,1),[100])
hold
%hist(bsad(bsad(:,1)>0,1),[100])
hist(bsad(:,1),[100])
h = findobj(gca,'Type','patch')
display(h)
set(h(1),'FaceColor','b','EdgeColor','k','facealpha',0.5);
set(h(2),'FaceColor','y','EdgeColor','k','facealpha',0.5);
hold
%% text
hold
ksdensity(bsat(:,1))
hold
ksdensity(bsad(:,1))
%% peptides
bsadp=csvread('X:\Elite\Mohmd\bsadpep.csv')
bsatp=csvread('X:\Elite\Mohmd\bsatpep.csv')
hist(bsatp(:,12))
hold
hist(bsadp(:,12))
h = findobj(gca,'Type','patch')
display(h)
set(h(1),'FaceColor','b','EdgeColor','k','facealpha',0.5);
set(h(2),'FaceColor','y','EdgeColor','k','facealpha',0.25);
hold
%% multi report
prot=xlsread('X:\Elite\Mohmd\Multiconsensus from 2 Reports.xlsx');
axis square
plot(prot(:,6),prot(:,10),'r.')
axis equal
plot(prot(:,7),prot(:,11),'r.')
%% peptide MR
pep=xlsread('X:\Elite\Mohmd\Multiconsensus from 2 ReportsPep.xlsx')
plot(pep(:,10),pep(:,12),'r.')
%% compeare
[h,p,ci]=ttest(prot(:,6),prot(:,10))