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 fp.sim.matrix function.

type

The type of fingerprint applied to the SMILEs ("extended" as default). For more information see get.fingerprint function.

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]