Closed TomKellyGenetics closed 6 years ago
information centrality is already supported in netrankr (check out netrankr::index_builder()
) (if you refer to the the one by Stephenson and Zelen).
In general, the philosophy of netrankr is not to implement indices explicitly but implicitly by providing building blocks for indices (see here). If you have other indices that may be missing, I am happy to include them, given that they can be broken down in a series of transformations.
Still, thanks for your suggestion!
I've prepared functions to implement network efficiency and information centrality on igraph objects. See the following repository for this function with the accompanying unit tests and documentation: https://github.com/TomKellyGenetics/info.centrality
I've wrapped this function in it's own package but could merge it with the "netrankr" package if feasible. If there is interest in doing so I can add this function to a fork of the devel branch and submit a pull request. In this case I will check if the "info.centrality" function is consistent with other centrality functions.
This package was suggested on an issue on the "rigraph" package: https://github.com/igraph/rigraph/issues/256#issue