getaidcid: Get Assay ID Based on Compound Activity

Description Usage Arguments Value Author(s) See Also

Description

This function allows you to identify PubChem assays in which a compound, specified by CID, has been tested in. The method uses the PubChem Power User Gateway (PUG) and as a result can be slow.

The function can be used to identify assays in which the CID is active, inactive or simply the assays in which it has been tested.

Usage

1
get.aid.by.cid(cid, type="tested", quiet=TRUE) 

Arguments

cid

A single compound ID

type

What type of query should be performed. Valid values are 'active', 'inactive', 'tested'

quiet

If FALSE, output is verbose

Value

If the type argument was one of 'active', 'inactive', or 'tested' a numeric vector of assay IDs.

In case an invalid CID was specified or the query failed, NULL is returned.

Author(s)

Rajarshi Guha rajarshi.guha@gmail.com

See Also

get.assay


CDK-R/rpubchem documentation built on Nov. 6, 2019, 3:59 a.m.