listFeatures: List Features

View source: R/compound_db.R

listFeaturesR Documentation

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.

Author(s)

Kevin Horan

See Also

findCompounds

Examples

   #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")

girke-lab/ChemmineR documentation built on July 28, 2023, 10:36 a.m.