read.SMIset: SMILES file to 'SMIset'

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Imports one or many molecules from a SMILES file and stores content in a SMIset container. The input file is expected to contain one SMILES string per row with tab-separated compound identifiers at the end of each line. The compound identifiers are optional.

Usage

1
read.SMIset(file, removespaces = TRUE, ...)

Arguments

file

path/name to a SMILES file

removespaces

if set to TRUE spaces will be removed

...

option to pass on additional arguments

Details

...

Value

SMIset

for details see ?"SMIset-class"

Author(s)

Thomas Girke

References

SMILES (Simplified molecular-input line-entry system) format definition: http://en.wikipedia.org/wiki/Simplified_molecular-input_line-entry_system

See Also

Functions: read.SDFset

Examples

1
2
3
4
5
6
## Write instance of SMIset class to SMILES file
data(smisample); smiset <- smisample
# write.SMI(smiset[1:4], file="sub.smi")

## Import SMILES file 
# read.SMIset("sub.smi")

girke-lab/ChemmineR-git-svn-bridge documentation built on May 17, 2019, 5:25 a.m.