Learn R Programming

ChemmineR (version 2.24.2)

sdfstr2list: SDFstr to list

Description

Returns objects of class SDFstr as list.

Usage

sdfstr2list(x)

Arguments

x
object of class SDFstr

Value

list
with many of the following components:
character
SDF content of one molecule vectorized line by line

Details

...

References

SDF format definition: http://www.symyx.com/downloads/public/ctfile/ctfile.jsp

See Also

Functions: sdf2list, sdf2str, SDFset2list, SDFset2SDF

Examples

Run this code
## Instance of SDFstr class
data(sdfsample); sdfset <- sdfsample
sdfstr <- as(sdfset, "SDFstr")

## Return as list
sdfstr2list(sdfstr)
as(sdfstr, "list") # similar result

Run the code above in your browser using DataLab