Learn R Programming

⚠️There's a newer version (2.2.9) of this package.Take me there.

influential

Overview

The goal of influential is to help identification of the most influential nodes (hubs) in a network. This package contains functions for reconstruction of networks from adjacency matrices and data frames, analysis of the topology of the network and calculation of centrality measures. The first integrative method (i.e. the integrated hubness score (IHS) method) for the identification of network hubs is also provided as a function, which is the main purpose of the package. Also, neighborhood connectivity, one of the required centrality measures for the calculation of IHS, is for the first time calculable in the R environment. Furthermore, some functions have been provided for the assessment of dependence and correlation of two network centrality measures as well as the conditional probability of deviation from their corresponding means in opposite directions.

Check out our paper (not published yet) for a more complete description of the IHS formula and all of its underpinning methods and analyses.

Author

The influential package was written by Adrian (Abbas) Salavaty

How to Install

You can install the official CRAN release of the influential with the following code:

install.packages("influential")

Or the development version from GitHub:

## install.packages("devtools")
devtools::install_github("asalavaty/influential")

Vignettes

Detailed description of the functions and their outputs

An Example for Calculation of IHS

This is a basic example which shows you how to solve a common problem:

library(influential)

MyData <- centrality.measures # A data frame of centrality measures

# This function calculates the integrated Hubness Score (IHS)
My.vertices.IHS <- ihs(DC = centrality.measures$Degree,
                       BC = centrality.measures$BetweennessCentrality,
                       NC = centrality.measures$NeighborhoodConnectivity)

print(head(My.vertices.IHS))
#> [1] 196.2039215   2.9822273   0.1572078   6.1757221   0.3199993   0.5095222

How to cite influential

To cite influential, please cite the associated paper (unpublished yet). You can also refer to the package’s citation information using the citation() function.

citation("influential")

How to contribute

Please don’t hesitate to report any bugs/issues and request for enhancement or any other contributions. To submit a bug report or enhancement request, please use the influential GitHub issues tracker.

Copy Link

Version

Install

install.packages('influential')

Monthly Downloads

408

Version

0.1.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Adrian Salavaty

Last Published

February 17th, 2020

Functions in influential (0.1.0)

graph_from_data_frame

Creating igraph graphs from data frames
ihs

Integrated hubness score (IHS)
neighborhood.connectivity

Neighborhood connectivity
cond.prob.analysis

Conditional probability of deviation from means
graph_from_adjacency_matrix

Creating igraph graphs from adjacency matrices
double.cent.assess.noRegression

Assessment of innate features and associations of two network centrality measures
coexpression.data

Co-expression dataset
degree

Degree of the vertices
double.cent.assess

Assessment of innate features and associations of two network centrality measures (dependent and independent)
centrality.measures

Centrality measures dataset
betweenness

Vertex betweenness centrality
V

Vertices of an igraph graph
coexpression.adjacency

Adjacency matrix