SMI-class: Class '"SMI"'

Description Objects from the Class Slots Methods Author(s) References See Also Examples

Description

Container for storing the SMILES string of a single molecule.

Objects from the Class

Objects can be created by calls of the form new("SMI", ...).

Slots

smiles:

Object of class "character" of length one

Methods

as.character

signature(x = "SMI"): returns content as character vector

coerce

signature(from = "character", to = "SMI"): as(smi, "SMI")

coerce

signature(from = "SMIset", to = "SMI"): as(smiset, "SMI")

show

signature(object = "SMI"): prints summary of SMI

Author(s)

Thomas Girke

References

SMILES (Simplified molecular-input line-entry system) format definition: http://en.wikipedia.org/wiki/Simplified_molecular-input_line-entry_system

See Also

Related classes: SMIset, SDF, SDFset

Examples

1
2
3
4
5
showClass("SMI")

## Instances of SMI class
data(smisample); smiset <- smisample
(smi <- smiset[[1]]) # returns first molecule in smiset as SMI object

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