Building towards an algorithm for microarray analysis