Package: rsetse 0.5.0

rsetse: Strain Elevation Tension Spring Embedding

An R implementation for the Strain Elevation and Tension embedding algorithm from Bourne (2020) <doi:10.1007/s41109-020-00329-4>. The package embeds graphs and networks using the Strain Elevation and Tension embedding (SETSe) algorithm. SETSe represents the network as a physical system, where edges are elastic, and nodes exert a force either up or down based on node features. SETSe positions the nodes vertically such that the tension in the edges of a node is equal and opposite to the force it exerts for all nodes in the network. The resultant structure can then be analysed by looking at the node elevation and the edge strain and tension. This algorithm works on weighted and unweighted networks as well as networks with or without explicit node features. Edge elasticity can be created from existing edge weights or kept as a constant.

Authors:Jonathan Bourne [aut, cre]

rsetse_0.5.0.tar.gz
rsetse_0.5.0.zip(r-4.5)rsetse_0.5.0.zip(r-4.4)rsetse_0.5.0.zip(r-4.3)
rsetse_0.5.0.tgz(r-4.5-x86_64)rsetse_0.5.0.tgz(r-4.5-arm64)rsetse_0.5.0.tgz(r-4.4-x86_64)rsetse_0.5.0.tgz(r-4.4-arm64)rsetse_0.5.0.tgz(r-4.3-x86_64)rsetse_0.5.0.tgz(r-4.3-arm64)
rsetse_0.5.0.tar.gz(r-4.5-noble)rsetse_0.5.0.tar.gz(r-4.4-noble)
rsetse_0.5.0.tgz(r-4.4-emscripten)rsetse_0.5.0.tgz(r-4.3-emscripten)
rsetse.pdf |rsetse.html
rsetse/json (API)
NEWS

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

Bug tracker:https://github.com/jonnob/rsetse/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

On CRAN:

Conda:

embeddingembedding-graphsgraph-embeddingigraphnetworksnetworkscienceunsupervised-learningopenblascppopenmp

4.85 score 7 stars 8 scripts 148 downloads 29 exports 24 dependencies

Last updated 3 years agofrom:8ba5e4e43b. Checks:1 OK, 11 ERROR. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 26 2025
R-4.5-win-x86_64ERRORMar 26 2025
R-4.5-mac-x86_64ERRORMar 26 2025
R-4.5-mac-aarch64ERRORMar 26 2025
R-4.5-linux-x86_64ERRORMar 26 2025
R-4.4-win-x86_64ERRORMar 26 2025
R-4.4-mac-x86_64ERRORMar 26 2025
R-4.4-mac-aarch64ERRORMar 26 2025
R-4.4-linux-x86_64ERRORMar 26 2025
R-4.3-win-x86_64ERRORMar 26 2025
R-4.3-mac-x86_64ERRORMar 26 2025
R-4.3-mac-aarch64ERRORMar 26 2025

Exports::=.data%>%as_labelas_namecalc_spring_areacalc_spring_constantcalc_tension_straincalc_tension_strain_hdcreate_balanced_blockscreate_node_edge_dfcreate_node_edge_df_hdenquoenquosexprgenerate_peels_networkmass_adjusterprepare_categorical_forceprepare_continuous_forceprepare_edgesremove_small_componentssetsesetse_autosetse_auto_hdsetse_bicompsetse_expandedsetse_shiftsymsyms

Dependencies:clicpp11dplyrfansigenericsglueigraphlatticelifecyclemagrittrMatrixminpack.lmpillarpkgconfigpurrrR6RcppRcppArmadillorlangtibbletidyselectutf8vctrswithr

Analysing multiple networks

Rendered fromseparate-peels-quintet.Rmdusingknitr::rmarkdownon Mar 26 2025.

Last update: 2021-06-10
Started: 2020-10-28

Categorical and continuous feature embedding

Rendered fromCategorical-and-continuous-features.Rmdusingknitr::rmarkdownon Mar 26 2025.

Last update: 2021-06-10
Started: 2021-06-10