Transcriptional profiling with DNA microarrays can be used to measure the genome-wide transcriptional response to small molecules. Recent progress in the analysis of gene-expression data has relied on the generation of databases of profiles documenting the transcriptional effects of various compound treatments and genetic perturbations. A positive correlation between the transcriptional response induced by a novel small molecule and a database profile can provide insight into the molecule's mechanism. Transcriptional profiling can also be used to assess a small molecule's specificity for its target and to facilitate analysis of pathways downstream of the target.