Usage
TOMsimilarity(adjMat, TOMType = "unsigned", TOMDenom = "min", verbose = 1, indent = 0)
TOMdist(adjMat, TOMType = "unsigned", TOMDenom = "min", verbose = 1, indent = 0)
Arguments
adjMat
adjacency matrix, that is a square, symmetric matrix with entries between 0 and 1
(negative values are allowed if TOMType=="signed"
).
TOMType
a character string specifying TOM type to be calculated. One of "unsigned"
,
"signed"
. If "unsigned"
, the standard TOM will be used (more generally, TOM
function will receive the adjacency as input). If "signe
TOMDenom
a character string specifying the TOM variant to be used. Recognized values are
"min"
giving the standard TOM described in Zhang and Horvath (2005), and "mean"
in which
the min
function in the denominator is replac
verbose
integer level of verbosity. Zero means silent, higher values make the output
progressively more and more verbose.
indent
indentation for diagnostic messages. Zero means no indentation, each unit adds
two spaces.