The analysis of transcriptional data accounting for the chromosomal locations of genes can be applied to detecting gene sets sharing similar expression profiles in an adjacent chromosomal region. In this paper, we propose a new distance measure to integrate expression profiles with chromosomal locations. The performance of the proposed distance measure is evaluated via the bootstrap resampling procedure. We applied the proposed method to the microarray data in Drosophila genome and identified the set of genes of Toll and Imd pathway in adjacent chromosomal regions. Not only the proposed method gives stronger biological meaning to the clustering result, but also it provides biologically meaningful gene sets.