sim2adj.Rd
Compute adjaceny matrix from similary (correlation) matrix for different network types.
sim2adj(s.mat, soft.power, network.type)
Similarity matrix. Symmetric matrix with rows and columns corresponding to genes, and diagonal = 1.
Numeric specifying soft power used to calculate adjacency matrix.
character specifying network type. Must be one of "unsigned", "signed", or "signed hybrid".
adjaceny matrix (a.mat)
# Convert similary to adjacency
a.mat <- sim2adj(s.mat, soft.power = 2, network.type = "signed")
#> Error in sim2adj(s.mat, soft.power = 2, network.type = "signed"): could not find function "sim2adj"