sigmoidAdjacencyFunction: Sigmoid-type adacency function.

View source: R/Functions.R

sigmoidAdjacencyFunctionR Documentation

Sigmoid-type adacency function.

Description

Sigmoid-type function that converts a similarity to a weighted network adjacency.

Usage

sigmoidAdjacencyFunction(ss, mu = 0.8, alpha = 20)

Arguments

ss

similarity, a number between 0 and 1. Can be given as a scalar, vector or a matrix.

mu

shift parameter.

alpha

slope parameter.

Details

The sigmoid adjacency function is defined as 1/(1 + exp(-alpha * (ss - mu))).

Value

Adjacencies returned in the same form as the input ss

Author(s)

Steve Horvath

References

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


WGCNA documentation built on April 23, 2022, 1:06 a.m.