Learn R Programming

ChemmineR (version 2.24.2)

listFeatures: List Features

Description

List the available features in the given database. These features can be used in the findCompounds function.

Usage

listFeatures(conn)

Arguments

conn
Database connection

Value

A vector of character feature names.

See Also

findCompounds

Examples

Run this code
   #create and initialize a new SQLite database
   conn = initDb("test7.db")

	data(sdfsample)

	#just load the data with no features or descriptors
	ids=loadSdf(conn,sdfsample,fct=function(sdfset) cbind(mw=MW(sdfset)))
	listFeatures(conn) # produces c("mw")
	unlink("test7.db")

Run the code above in your browser using DataLab