Description Usage Arguments Value Author(s) See Also Examples
Create SDF objects from the given set of compound ids. Id numbers can be found using the findCompounds function.
1 | getCompounds(conn,compoundIds,filename=NA, keepOrder = FALSE, allowMissing = FALSE)
|
conn |
A database connection object, such as is returned by |
compoundIds |
A vector of compound ids, as returned by |
filename |
If given, writes the compounds directly to the file named. |
keepOrder |
If true, the order of the output compound ids will be the same as the input names. This imposes a performance hit that can be significant for large datasets, thus it should be left FALSE unless needed. |
allowMissing |
When this is false an error will be raised when compound ids queried were not found in the database. If true, just those that are found will be returned with no error or warning. |
An SDFset with the requested compounds or nothing if filename
was specified.
A warning will be raised if not all compounds could be found.
Kevin Horan
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.