Sigmoid-type function that converts a similarity to a weighted network adjacency.
sigmoidAdjacencyFunction(ss, mu = 0.8, alpha = 20)
similarity, a number between 0 and 1. Can be given as a scalar, vector or a matrix.
shift parameter.
slope parameter.
Adjacencies returned in the same form as the input ss
The sigmoid adjacency function is defined as \(1/(1+\exp[-\alpha(ss - \mu)])\).
Bin Zhang and Steve Horvath (2005) "A General Framework for Weighted Gene Co-Expression Network Analysis", Statistical Applications in Genetics and Molecular Biology: Vol. 4: No. 1, Article 17