We are using MATLAB's function to analyse the slidning window ka ks ratio of genes. Now, when we are considering the whole gene in question, we use the Fishers exact test for the Ka Ks ratio, however, what do we do for sliding windows ?
(http://www.mathworks.co.uk/help/bioinfo/examples/analyzing-synonymous-and-nonsynonymous-substitution-rates.html?prodcode=BI&language=en)