Description Usage Arguments Details Author(s) See Also Examples
Add additional compounds to and existing database
1 2 3 | eiAdd(runId,additions,dir=".",format="sdf",conn=defaultConn(dir),
distance=getDefaultDist(descriptorType),
updateByName = FALSE,...)
|
runId |
The id number identifying a particular set of settings for a database. This is generally
the number returned by |
additions |
The compounds to add. This can be either a file in sdf format, or and SDFset object. |
dir |
The directory where the "data" directory lives. Defaults to the current directory. |
format |
The format of the data given in |
conn |
Database connection to use. |
distance |
The distance function to be used to compute the distance between two descriptors. A default function is provided for "ap" and "fp" descriptors. |
updateByName |
If true we make the assumption that all compounds, both in the existing database and the given dataset, have unique names. This function will then avoid re-adding existing, identical compounds, and will update existing compounds with a new definition if a new compound definition with an existing name is given. If false, we allow duplicate compound names to exist in the database, though not duplicate definitions. So identical compounds will not be re-added, but if a new version of an existing compound is added it will not update the existing one, it will add the modified one as a completely new compound with a new compound id. |
... |
Additional options passed to |
New Compounds can be added to an existing database, however, the reference compounds cannot be changed. This will also update the matrix file in the run/job directory with the new compounds.
Kevin Horan
eiMakeDb
eiPerformanceTest
eiQuery
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.