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 May 20, 2017, 10:02 p.m.

Search within the ChemmineR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.