get.smiles | R Documentation |
The function will generate a SMILES representation of an 'IAtomContainer' object. The default parameters of the CDK SMILES generator are used. This can mean that for large ring systems the method may fail. See CDK Javadocs for more information
get.smiles(molecule, flavor = smiles.flavors(c("Generic")), smigen = NULL)
molecule |
The molecule to query. Should be a 'jobjRef' representing an 'IAtomContainer' |
flavor |
The type of SMILES to generate. See |
smigen |
A pre-existing SMILES generator object. By default, a new one is created from the specified flavor |
A character string containing the generated SMILES
Rajarshi Guha (rajarshi.guha@gmail.com)
parse.smiles
, smiles.flavors
m <- parse.smiles('C1C=CCC1N(C)c1ccccc1')[[1]]
get.smiles(m)
get.smiles(m, smiles.flavors(c('Generic','UseAromaticSymbols')))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.