powered by
This function retrieves the value of a keyed property that has previously been set on the molecule.
The get.title function is simply a wrapper around get.property that directly provides access to the molecule title.
get.title
get.property
get.property(molecule, key) get.title(molecule)
A Java object of class IAtomContainer
IAtomContainer
A string naming the property
The value of the property is the key is found else NA. For get.title, the title of the molecule if available otherwise NA
get.properties, set.property, remove.property
get.properties
set.property
remove.property
# NOT RUN { smiles <- 'c1ccccc1' mol <- parse.smiles(smiles)[[1]] set.property(mol, 'prop1', 23.45) set.property(mol, 'prop2', 'inactive') get.property(mol, 'prop1') # }
Run the code above in your browser using DataLab