Description Usage Arguments Value References Examples
View source: R/clustCoefPercentage.R
Given an adjacency matrix, calculate the clustering coefficient as a percentage of non-zero adjacencies.
1 | clustCoefPercentage(mat)
|
mat |
An adjacency matrix. Calculating the clustering coefficient percentage only makes sense if some connections are zero i.e. no connection. |
Returns the clustering coefficient as a porcentage.
Nathan S. Watson-Haigh, Haja N. Kadarmideen, and Antonio Reverter (2010). PCIT: an R package for weighted gene co-expression networks based on partial correlation and information theory approaches. Bioinformatics. 26(3) 411-413. https://academic.oup.com/bioinformatics/article/26/3/411/215002
1 2 3 4 5 6 7 8 | # loading a simulated counts data
data('simNorm')
# running PCIT analysis
results <- PCIT(simNorm)
# getting the clustering coefficient as percentage
clustCoefPercentage(results$adj_sig)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.