chemical.dissimilarity {MetChem} | R Documentation |
Chemical dissimilarity.
Description
This function calculates the structural dissimilarity between different metabolites using the simplified molecular-input line-entry system (SMILE) of each metabolite as input.
Usage
chemical.dissimilarity (smiles,method="tanimoto",type="extended")
Arguments
smiles |
A vector of smile notations. |
method |
The method used to calculated the distance between molecular fingerprint ("tanimoto" as default). For more information see |
type |
The type of fingerprint applied to the SMILEs ("extended" as default). For more information see |
Value
A list contains distance between fingerprints .
See Also
fp.sim.matrix
, get.fingerprint
,
Examples
data(Metabolites)
d=chemical.dissimilarity(Metabolites$SMILES[1:50])
[Package MetChem version 0.4 Index]