29 lines
1.2 KiB
Python
29 lines
1.2 KiB
Python
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack.package import *
|
|
|
|
|
|
class RInfluencer(RPackage):
|
|
"""Software Tools to Quantify Structural Importance of Nodes in a Network.
|
|
|
|
Provides functionality to compute various node centrality measures on
|
|
networks. Included are functions to compute betweenness centrality (by
|
|
utilizing Madduri and Bader's SNAP library), implementations of Burt's
|
|
constraint and effective network size (ENS) metrics, Borgatti's algorithm
|
|
to identify key players, and Valente's bridging metric. On Unix systems,
|
|
the betweenness, Key Players, and bridging implementations are parallelized
|
|
with OpenMP, which may run faster on systems which have OpenMP
|
|
configured."""
|
|
|
|
cran = "influenceR"
|
|
|
|
version("0.1.0.1", sha256="63c46f1175fced33fb1b78d4d56e37fbee09b408945b0106dac36e3344cd4766")
|
|
version("0.1.0", sha256="4fc9324179bd8896875fc0e879a8a96b9ef2a6cf42a296c3b7b4d9098519e98a")
|
|
|
|
depends_on("r@3.2.0:", type=("build", "run"))
|
|
depends_on("r-igraph@1.0.1:", type=("build", "run"))
|
|
depends_on("r-matrix@1.1-4:", type=("build", "run"))
|