getAllCompoundIds | R Documentation |
Return a vector of every compound id in the given database.
getAllCompoundIds(conn)
conn |
A database connection object, such as is returned by |
A vector of compound_id numbers
Kevin Horan
#create and initialize a new SQLite database
conn = initDb("test1.db")
data(sdfsample)
#load data
ids=loadSdf(conn,sdfsample)
ids2=getAllCompoundIds(conn)
#ids == ids2
unlink("test1.db")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.