sdfAdjust | R Documentation |
Adjust the format of SDF and MOL files in order they to correspond to OpenBabel standards and be readable in ChemmineR, ChemmineOB and rcdk packages.
sdfAdjust(sdfFile, origin, directory, saveNewFile, newFileName)
sdfFile |
Name of the SDF or MOL file to read. |
origin |
By default "file". If is "file" sdfFile is a mol or sdf file located in a directory. If is "txt" then sdfFile is a vector of strings (e.g. readed from PubChem server...). |
directory |
By default is the active working directory given by getwd() function. Otherwise, indicate the file location with no final "/". |
saveNewFile |
By default is FALSE and do not saved the default file in the indicated directory. |
newFileName |
By default is "<sdfFile>_Adjusted.sdf". |
Returns a SDF or MOL vector of strings which can be imported directly into ChemmineR package through read.SDFset() or read.SDFstr().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.