Description Usage Arguments Details Value Author(s) References Examples
Find a set of compounds that are far away from each other.
1 | maximallyDissimilar(compounds, n, similarity = cmp.similarity)
|
compounds |
The set of items from which to pick |
n |
The number of dissimilar items to return. |
similarity |
The similarity function to use. By default Tanimoto will be used on APset objects.
Internally, this will be converted to a distance function using |
This will run in O(length(compounds)n) time. Based on the algorithm described in (Higgs,1997).
A vector of indexes of the dissimilar items.
Kevin Horan
Higgs, R.E., Bemis, K.G., Watson, I.A., and Wikel, J.H. 1997. Experimental designs for selecting molecules from large chemical databases. J. Chem. Inf. Comput. Sci. 37, 861-870
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.