getAllCompoundIds: Get ALl Compound Ids

Description Usage Arguments Value Author(s) Examples

Description

Return a vector of every compound id in the given database.

Usage

1

Arguments

conn

A database connection object, such as is returned by initDb.

Value

A vector of compound_id numbers

Author(s)

Kevin Horan

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
   #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")

girke-lab/ChemmineR-git-svn-bridge documentation built on May 17, 2019, 5:25 a.m.