Given a set of fingerprints, a pairwise similarity can be calculated using the
various distance metrics defined for binary strings. This function calculates
the pairwise similarity matrix for a set of
fingerprint objectssupplied in a
structure. Any of the distance metrics provided by
distance can be used and the
default is the Tanimoto metric.
Note that if the the Euclidean distance is specified then the resultant matrix is a distance matrix and not a similarity matrix
A list structure with each element being an object of class
The type of distance metric to use. Alternatives are
A matrix with dimensions equal to
Rajarshi Guha [email protected]
1 2 3 4 5 6
[,1] [,2] [,3] [1,] 1.0 0.6 0.5 [2,] 0.6 1.0 0.5 [3,] 0.5 0.5 1.0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.