A major concern of chemogenomics is to associate drug activity with biological variables. Several reportshave clustered cell line drug activity profiles as well as drug activity-gene expression correlation profilesand noted that the resulting groupings differ but still reflect mechanism of action. The present paper showsthat these discrepancies can be viewed as a weighting of drug−drug distances, the weights depending onwhich cell lines the two drugs differ in.