Description Usage Arguments Details Value Author(s) Examples
View source: R/705-searchDrug.R
Parallelized Drug Molecule Similarity Search by Molecular Fingerprints Similarity or Maximum Common Substructure Search
1 2 3 4 5 |
mol |
The query molecule. The location of a |
moldb |
The molecule database. The location of a |
cores |
Integer. The number of CPU cores to use for parallel search,
default is |
method |
|
fptype |
The fingerprint type, only available when |
fpsim |
Similarity measure type for fingerprint,
only available when |
mcssim |
Similarity measure type for maximum common substructure search,
only available when |
... |
Other possible parameter for maximum common substructure search,
see |
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.
Named numerical vector. With the decreasing similarity value of the molecules in the database.
Min-feng Zhu <wind2zhu@163.com>, Nan Xiao <http://r2s.name>
1 2 3 4 5 6 7 | 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, cores = 4, method = 'fp', fptype = 'maccs', fpsim = 'hamming')
searchDrug(mol, moldb, cores = 4, method = 'fp', fptype = 'fp2', fpsim = 'tanimoto')
searchDrug(mol, moldb, cores = 4, method = 'mcs', mcssim = 'tanimoto')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.