pubchemSDFSearch {ChemmineR} | R Documentation

## PubChem Similarity (Fingerprint) Search

### Description

Accepts one `SDFset` container and performs a similarity PubChem fingerprint search, returning hits in an `SDFset` container. If the input object contains multiple items, only the first is used as a query.

### Usage

    pubchemSDFSearch(sdf)

### Arguments

`sdf` | A `SDFset` object which contains one compound

### Value

`SDFset` | for details see ?"SDFset-class"

### Author(s)

Kevin Horan

### References

PubChem PUG REST: https://pubchem.ncbi.nlm.nih.gov/pug_rest/PUG_REST_Tutorial.html

SMILES Format: http://en.wikipedia.org/wiki/Chemical_file_format#SMILES

### Examples

    ## Not run:
    ## get a sample compound
    data(sdfsample); sdfset <- sdfsample[2]
    ## search a compound on PubChem
    compounds <- pubchemSDFSearch(sdfset)
    ## End(Not run)

[Package ChemmineR version 3.42.2 Index]