View source: R/read_structures.R
extract_structure | R Documentation |
combine_mol2sdf
extract_structure
offers a way to retrieve SMILES from the sdf file.
extract_structure(input, output)
input |
The sdf file generated by |
output |
The location where the structure information will be stored and its name, e.g., "/home/exported.txt". |
The function is a wrapper of the convertFormatFile
function from the
ChemmineOB package. As InChI and InChIKey are not supported in Windows-
based systems, this function will automatically determine which type of
operating system you are working with. Only name and SMILES
will be retrieved if you work with Windows, while InChI and
InChIKey will be exported as well in Linux-based or Mac OS systems.
A data.frame and creates a *.txt file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.