Efficient Computational Methods for the Design and Interpretation of Genetic Microarrays and Scanned Image data with Application to the Reconstruction of Transcriptional Regulatory Modules