Methods for simultaneously identifying coherent local clusters with smooth global patterns in gene expression profiles