ChemmineR (version 2.24.2)

regenerateCoords: Re-generate 2D Coordinates

Description

This uses Open Babel (requires ChemmineOB package) to re-generate the 2D coordinates of compounds. This often results in a nicer layout of the compound when plotting.

Usage

regenerateCoords(sdf)

Arguments

sdf
A SDF or SDFset object whose coordinates will be re-generated.

Value

Either an SDF object if given an SDF, or else and SDFset.

See Also

plotStruc

Examples

Run this code
	## Not run: 
# 		data(sdfsample)
# 		prettySdfset = regenerateCoords(sdfsample[1:4])
# 	## End(Not run)

Run the code above in your browser using DataLab