Description Objects from the Class Slots Methods Author(s) References See Also Examples
List-like container for storing one or many molecules from an SD (or MOL) file.
Each component of an SDFstr
object stores the SD data line by line from
a single molecule in a character vector. The SDFstr
class is an
intermediate container to import SD files into the more important SDFset
object or to export the data back from an SDFset
container to a valid SD
file.
Objects can be created by calls of the form new("SDFstr", ...)
.
a
:Object of class "list"
with character
components
signature(x = "SDFstr")
: subsetting of class with bracket operator
signature(x = "SDFstr")
: returns single component as character vector
signature(x = "SDFstr")
: replacement method for single SDFstr
component
signature(x = "SDFstr")
: replacement method for several SDFstr
components
signature(from = "character", to = "SDFstr")
: as(character, "SDFstr")
signature(from = "list", to = "SDFstr")
: as(list, "SDFstr")
signature(from = "SDF", to = "SDFstr")
: as(sdf, "SDFstr")
signature(from = "SDFset", to = "SDFstr")
: as(sdfset, "SDFstr")
signature(from = "SDFstr", to = "list")
: as(sdfstr, "list")
signature(from = "SDFstr", to = "SDFset")
: as(sdfstr, "SDFset")
signature(x = "SDFstr")
: returns length of SDFstr
signature(x = "SDFstr")
: accessor method to return SDFstr
as list
signature(x = "SDFstr")
: replacement method for several SDFstr
components
signature(object = "SDFstr")
: prints summary of SDFstr
Thomas Girke
SDF format definition: http://www.symyx.com/downloads/public/ctfile/ctfile.jsp
Related classes: SDFset, AP, APset
Import function: read.SDFstr("some_SDF_file")
1 2 3 4 5 6 7 8 9 10 | showClass("SDFstr")
## Instances of SDFstr class
data(sdfsample); sdfset <- sdfsample
sdfstr <- as(sdfset, "SDFstr")
sdfstr[1:4] # print summary of container content
sdfstr[[1]] # returns character vector
## Import: sdfstr <- read.SDFstr("some_SDF_file")
## Export: write.SDF(sdfstr, "some_file.sdf")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.