https://github.com/SBIUCD/BDiffProt
Raw File
Tip revision: d08cfc4340c37feac5601cf801a5268ea088203d authored by SBIUCD on 12 May 2016, 10:42:40 UTC
Create README.txt
Tip revision: d08cfc4
KSMatrix-ANAHILIX-PC.m
function [ P] = KSMatrix(CTRL,TRT)
%UNTITLED4 Summary of this function goes here
%   Detailed explanation goes here
N=size(CTRL,1);
P=ones(N,1);
for i=1:N
    dc=CTRL(i,:);
    dt=TRT(i,:);
    if sum(isnan(dc))<length(isnan(dc)) && sum(isnan(dt))<length(isnan(dt))
        [h,p]=kstest2(dc',dt');
        %(p)
        P(i)=p;
    end
end

end




back to top