searchDrug: Parallelized Drug Molecule Similarity Search by Molecular...

Description Usage Arguments Details Value Author(s) Examples

Description

Parallelized Drug Molecule Similarity Search by Molecular Fingerprints Similarity or Maximum Common Substructure Search

Usage

1
2
3
4
5
searchDrug(mol, moldb, method = c("fp", "mcs"),
  fptype = c("standard", "extended", "graph", "hybrid", "maccs",
  "estate", "pubchem", "kr", "shortestpath"), fpsim = c("tanimoto",
  "euclidean", "cosine", "dice", "hamming"), mcssim = c("tanimoto",
  "overlap"), ...)

Arguments

mol

The query molecule. The location of a sdf file containing one molecule.

moldb

The molecule database. The location of a sdf file containing all the molecules to be searched with.

method

'fp' or 'mcs'. Search by molecular fingerprints or by maximum common substructure searching.

fptype

The fingerprint type, only available when method = 'fp'. BioMedR supports 13 types of fingerprints, including 'standard', 'extended', 'graph', 'hybrid', 'maccs', 'estate', 'pubchem', 'kr', 'shortestpath'.

fpsim

Similarity measure type for fingerprint, only available when method = 'fp'. Including 'tanimoto', 'euclidean', 'cosine', 'dice' and 'hamming'. See calcDrugFPSim for details.

mcssim

Similarity measure type for maximum common substructure search, only available when method = 'mcs'. Including 'tanimoto' and 'overlap'.

...

Other possible parameter for maximum common substructure search.

Details

This function does compound similarity search derived by various molecular fingerprints with various similarity measures or derived by maximum common substructure search. This function runs for a query compound against a set of molecules.

Value

Named numerical vector. With the decreasing similarity value of the molecules in the database.

Author(s)

Min-feng Zhu <wind2zhu@163.com>, Nan Xiao <http://r2s.name>

Examples

1
2
3
4
5
mol = system.file('compseq/example.sdf', package = 'BioMedR')
# DrugBank ID DB00530: Erlotinib
moldb = system.file('compseq/bcl.sdf', package = 'BioMedR')
# Database composed by searching 'tyrphostin' in PubChem and filtered by Lipinski's Rule of Five
searchDrug(mol, moldb, method = 'fp', fptype = 'maccs', fpsim = 'hamming')

wind22zhu/BioMedR documentation built on Oct. 21, 2019, 12:51 p.m.