Usage
sd2gram(sdf, sdf2, stopP = 0.1, filterTottering = FALSE, converg = as.integer(1000), atomKernelMatrix = "", flagRemoveH = FALSE, morganOrder = as.integer(0), silentMode = FALSE, returnNormalized = TRUE, detectArom = FALSE)
Arguments
sdf
File containing the molecules. Must be in MDL
file format (MOL and SDF files). For more information on
the file format see
http://en.wikipedia.org/wiki/Chemical_table_file.
sdf2
A second file containing molecules. Must also
be in SDF format. If specified the molecules of the first
file will be compared with the molecules of this second
file. Default = "missing".
stopP
The probability that a random walk stops.
The higher the value the more weigth is put on shorter
walks. Default = 0.1.
filterTottering
A logical specifying whether
tottering paths should be removed. Default = FALSE.
converg
A numeric value specifying when
convergence is reached. The algorithm stops when the
kernel value does not change by more than 1/c, where c is
the value specified by the converg option. Default =
1000.
atomKernelMatrix
A string that sets the similarity
measure between atoms that should be used. Default =
"missing".
flagRemoveH
A logical that indicates whether
H-atoms should be removed or not. Default = FALSE.
morganOrder
The order of the DeMorgan indices to
be used. If set to zero, no DeMorgan indices are used.
The higher the order the more types of atoms exist and
consequently the more dissimilar will be the molecules.
Default = 0.
silentMode
Whether or not the program should print
progress reports to the standart output. Default =
FALSE.
returnNormalized
A logical specifying whether a
normalized kernel matrix should be returned. Default =
TRUE.
detectArom
Whether aromatic rings should be
detected and aromatic bonds should a special bond type.
If large molecules are in the data set the detection of
aromatic rings can be very time-consuming. (Default =
FALSE).