write.SMI | R Documentation |
Writes one or many molecules stored in a SMIset
object to a SMILES file.
write.SMI(smi, file, cid = TRUE, ...)
smi |
object of class |
file |
name of SMILES file to write to |
cid |
if |
... |
option to pass on additional arguments |
...
Thomas Girke
SMILES (Simplified molecular-input line-entry system) format definition: http://en.wikipedia.org/wiki/Simplified_molecular-input_line-entry_system
Functions: write.SDF
## Instance of SMIset class
data(smisample); smiset <- smisample
## Write objects of classes SMIset to file with and
## without compound identifiers
# write.SMI(smiset[1:4], file="sub.smi", cid=TRUE)
# write.SMI(smiset[1:4], file="sub.smi", cid=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.