First, we generate a RMSD-based similarity matrix of the 1000 generated docked poses. That is, we compute the RMSD, using only the ligand heavy atoms, from each docked pose to every other docked pose. This gives us an N xN similarity matrix (N=1000), in which our measure of similarity is based on the calculated RMSD between the docked poses (Fig. ).