listFeatures: List Features

Description Usage Arguments Value Author(s) See Also Examples

View source: R/compound_db.R

Description

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

Usage

1
	listFeatures(conn)

Arguments

conn

Database connection

Value

A vector of character feature names.

Author(s)

Kevin Horan

See Also

findCompounds

Examples

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

ChemmineR documentation built on Nov. 17, 2017, 1:52 p.m.