read_sdf | R Documentation |
Reads an SDF file and extracts the 3D molecule model
read_sdf(filename)
filename |
Filename to the sdf file. |
List giving the atom locations and the connections between atoms.
#This assumes a hypothetical SDF file in your working directory:
if(file.exists("molecule.sdf")) {
read_pdb("molecule.sdf") %>%
generate_full_scene() %>%
render_model()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.