describe: Get the compound information

View source: R/describe.R

describeR Documentation

Get the compound information

Description

get compound formula and structure from https://cactus.nci.nih.gov/chemical/structure

Usage

describe(chem, representation = "formula", info = FALSE)

Arguments

chem,

chemical name of the compound

representation,

representation methods, formula is default

info,

extra molecular information that users can query

Author(s)

Yonghui Dong

Examples

## Not run: 
describe('malic acid', "formula")
describe(c('malic acid', 'citric acid', 'tartaric acid'), "smiles")

## End(Not run)

YonghuiDong/MSbox documentation built on Jan. 12, 2023, 3:48 p.m.