Package: netkit 0.1.2

netkit: Network Topology, Diffusion and Robustness Analysis

Tools for analyzing and visualizing networks, built on 'igraph' and returning 'ggplot2' objects rather than drawing them, so that diagnostics can be composed and customized. Summarizes global topology and per-node centrality, identifies hubs, bottlenecks and community structure, and classifies nodes into connectivity roles following Guimera and Amaral (2005) <doi:10.1038/nature03288>. Extracts interpretable subnetworks around a set of nodes, including approximate Steiner trees after Kou, Markowsky and Berman (1981) <doi:10.1007/BF00288961>. Propagates influence from seed nodes using Laplacian smoothing, heat-kernel and random-walk-with-restart diffusion, with degree-matched permutation nulls, and simulates network robustness under progressive node removal. Observed metrics, including the small-world coefficient, can be tested against degree-preserving random ensembles for statistical significance. Edge weights are supported throughout, with an explicit declaration of whether a weight means strength or distance. Matrix operations use sparse representations throughout so that the methods remain usable on large graphs.

Authors:Alex Gallinat [aut, cre]

netkit_0.1.2.tar.gz
netkit_0.1.2.zip(r-4.7-any)netkit_0.1.2.zip(r-4.6-any)netkit_0.1.2.zip(r-4.5-any)
netkit_0.1.2.tgz(r-4.6-any)netkit_0.1.2.tgz(r-4.5-any)
netkit_0.1.2.tar.gz(r-4.7-any)netkit_0.1.2.tar.gz(r-4.6-any)
netkit_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
netkit/json (API)

# Install 'netkit' in R:
install.packages('netkit', repos = c('https://agallinat.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/agallinat/netkit/issues

Pkgdown/docs site:https://agallinat.github.io

On CRAN:

Conda:

network analysisgraph theoryigraphcentralityhubsbottleneckscommunity detectionmodularitynetwork diffusionrandom walk with restartheat kernelnetwork propagationnull modelssmall-worldnetwork robustnessnetwork visualizationbioinformaticscommunity-detectionggplo2graph-theorynetwork-analysisnetwork-diffusionnetwork-sciencenetwork-visualization

3.48 score 1 stars 21 exports 79 dependencies

Last updated from:2b2e05a4ee. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK234
source / vignettesOK217
linux-releaseOK186
macos-releaseOK202
macos-oldrelOK208
windows-develOK155
windows-releaseOK121
windows-oldrelOK111
wasm-releaseOK130

Exports:assign_attributescalculate_rolescompare_networksextract_subnetworkfind_bottlenecksfind_hubsfind_modulesgreedy_seed_selectionhighlight_nodeslayout_horizontal_treemetric_significancenetwork_diffusionnetwork_diffusion_with_pvaluesnode_metricsnull_modelplot_CCDFplot_Netprepare_diffusionrobustness_analysissmall_worldnesssummarize_graph_metrics

Dependencies:base64encbslibcachemclicodetoolscolourpickercommonmarkcpp11crayondigestdplyrevaluateexpmfarverfastmapfontawesomefsfuturefuture.applygenericsggExtraggplot2ggrepelglobalsgluegtablehighrhmshtmltoolshtmlwidgetshttpuvigraphineqisobandjquerylibjsonliteknitrlabelinglaterlatticelifecyclelistenvmagrittrMatrixmemoisemimeminiUIotelparallellypillarpkgconfigpracmaprettyunitsprogresspromisesR6rappdirsRColorBrewerRcppRcppEigenrlangrmarkdownRSpectraS7sassscalesshinyshinyjssourcetoolstibbletidyselecttinytexutf8vctrsviridisLitewithrxfunxtableyaml

Introduction to netkit
0. Installation | 1. Annotate Graphs | 2. Network Visualization | 3. Topological Analysis | 3.1. Global topology | 3.2. Node-level metrics | 3.3. Is any of this surprising? | 3.4. Robustness Analysis | 3.5. Hubs | 3.6. Bottlenecks | 3.7. Calculate Roles | 3.8. Modules | 4. Extracting a subnetwork | 5. Information flow | 5.1. Network Diffusion | 5.2. Reverse Network Diffusion | 6. Credits and Contributions

Last update: 2026-10-05
Started: 2025-07-24

Weighted networks: strength or distance?
The problem | The default is to ignore weights, loudly | What changes when weights are used | Diffusion propagates along strengths | Seeding from a continuous signal | What is not a weight | Reusing a diffusion kernel | Summary

Last update: 2026-10-03
Started: 2026-10-03