db.explain: Explain an atom-pair descriptor or an array of atom-pair...

Description Usage Arguments Details Value See Also Examples

Description

'db.explain' will take an atom-pair descriptor in numeric or a set of such descriptors, and interpret what they represent in a more human readable way.

Usage

1
db.explain(desc)

Arguments

desc

The descriptor or the array/vector of descriptors

Details

'desc' can be a single numeric giving a single descriptor or can be any container data type, such as vector or array, such that 'length(desc)' returns 2 or larger.

Value

Return a character vector describing the descriptors.

See Also

cmp.parse

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Load sample SD file
# data(sdfsample); sdfset <- sdfsample

## Generate atom pair descriptor database for searching
# apset <- sdf2ap(sdfset) 

## Loads same atom pair sample data set provided by library
data(apset) 
db <- apset

## Return atom pairs of first compound in human readable format
db.explain(db[1])

girke-lab/ChemmineR-release documentation built on May 17, 2019, 5:26 a.m.