Cluster Molecules Based on Their Properties
Load acids from ChemicalData and extract their formulas and some properties.
In[1]:=
acids = Take[ChemicalData["Acids"], {3, 18}]
Out[1]=
In[2]:=
properties =
Outer[ChemicalData, acids, {"MolarMass", "MeltingPoint"}, 1]
Out[2]=
In[3]:=
formulas = ChemicalData[#, "Formula"] & /@ acids
Out[3]=
Visualize the hierarchical cluster of the acids based on their properties.
In[4]:=
ClusteringTree[properties -> formulas]
Out[4]=