get_classification: Get Entity Classification

Description Usage Arguments Value See Also Examples

View source: R/get_classification.R

Description

Retrieve entity classification from ‘http://classyfire.wishartlab.com/entities/’

Usage

1
get_classification(inchi_key)

Arguments

inchi_key

a character string of a valid InChIKey

Value

a ClassyFire S4 object.

See Also

ClassyFire-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 

# Valid InChI key where all four classification levels are available
get_classification('BRMWTNUJHUMWMS-LURJTMIESA-N')

# Valid InChI key where only three classification levels are available
get_classification('MDHYEMXUFSJLGV-UHFFFAOYSA-N')

# Invalid InChI key
get_classification('MDHYEMXUFSJLGV-UHFFFAOYSA-B')

## End(Not run)

classyfireR documentation built on Dec. 18, 2020, 1:07 a.m.