The x- and y-axes on chemical space plots are not labelled because the visual clustering method being used is a nonlinear reduction algorithm, attempting to take high-dimensional data (multidimensional data in more than three dimensions) and then display the relationships in only two or three dimensions. StarDrop also offers PCA chemical spaces, where the axes are principal components.

t-SNE tends to produce superior visualisations to PCA. However, it is much more computationally expensive. As a nonparametric technique t-SNE does not provide a mapping we can use to project new data sets into an existing chemical space; in our implementation, we work around this problem by “learning” a parameterised projection post hoc from the high-dimensional compounds and their low-dimensional counterparts. This approach is also used to enable t-SNE to automatically scale to much larger data sets by first using a random sample of the original set of compounds to compute a parameterised projection, and then applying this projection to the remaining compounds.

Figure 3‑3 Comparison of PCA and t-SNE. Plot (a) shows a t-SNE plot of a set of dopamine actives with individual clusters highlighted. Plot (b) shows the same data set in a PCA plot with the same clusters highlighted for comparison.

Some basic rules to help interpret the plots are:

  • A chemical space plot allows you to visualise trends across a data set.
  • Each point represents one compound.
  • The closer two points are, the greater their similarity in structure or properties, depending on the similarity model chosen.
  • A single data set defines a space, but other data sets can be plotted in that space simultaneously to explore their overlap.