speakeasyR

R package for SpeakEasy2

https://github.com/speakeasy-2/speakeasyr

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (18.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

R package for SpeakEasy2

Basic Info
  • Host: GitHub
  • Owner: SpeakEasy-2
  • License: gpl-3.0
  • Language: Fortran
  • Default Branch: master
  • Size: 480 KB
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 7
Created over 2 years ago · Last pushed 10 months ago
Metadata Files
Readme Changelog License

README.md

speakeasyR Community Detection

R-CMD-check CRAN status <!-- badges: end -->

This packages provides R functions for running the SpeakEasy 2 community detection algorithm using the SpeakEasy2 C library. See the Genome Biology article.

SpeakEasy 2 (SE2) is a graph community detection algorithm that aims to be performant on large graphs and robust, returning consistent results across runs. SE2 does not require precognition about the number of communities in the network. Additionally, while the user can provide parameters to alter how the algorithm is run, the default option work well on a wide arrange of graphs and tweaking options generally has little affect on the results, reducing the risk of influencing the algorithm.

The core algorithm is written in C, providing speed and keeping the memory requirements low. This implementation can take advantage of multiple computing cores without increasing memory usage. SE2 can detect community structure across scales, making it a good choice for biological data, which is often organized hierarchical structure.

Graphs can be passed to the algorithm as adjacency matrices using the Matrix library, igraph graphs, or any data that can coerced into a matrix.

Installation

For most users, this package should be installed from CRAN using:

r install.packages("speakeasyR")

It can also be installed using devtools:

r devtools::install_github("speakeasy-2/speakeasyR")

Additionally, it's possible to download the latest release from the release page (the speakeasyR_${release}.tar.gz asset) and install it using install.packages:

r install.packages("speakeasyR_${release}.tar.gz")

Where ${release} must be replaced with the value in the tarball's name.

Linux

Installation with devtools::install_github has been tested in clean VMs running Ubuntu and Fedora.

Windows

To set up the development environment on Windows, install the appropriate version of Rtools for your R install. Using Rtools' MSYS2, install the required build tools. This has been tested with ucrt64 environment but likely works in other environments.

bash pacman -S mingw-w64-ucrt-x86_64-toolchain git

Building from source

For development, clone this repository and use:

bash git submodule update --init --recursive

To set up the vendored dependencies.

For development astyle is recommended for formatting C code while texlive/latex, qpdf, and checkbashims are expected by R for building the documentation and checking shell scripts during the R CMD build process.

It should now be possible to run devtools::load_all() in R.

Development

GNU autotools is used to generate the configuration script and files needed to run the configuration script. R's build commands do not run autoconf instead, if changes are made to the configuration.ac file, autoconf (and possibly autoreconf -i) needs to be run and manually and the resulting files should be committed along with the source configuration.ac file. The Makefile can determine when the autoconf programs need to be run by either directly calling the configure target (i.e. make configure) or running a build target (i.e. make build or make check or similar).

The makefile in the top level directory is intended for development. It will automate recreating committed generated files when needed. These generated files must be committed with changes to the source files that created them as they are not created by the R CMD build command. It should always be possible to run R CMD build to build the project in a clean state without needing to run make to generate other files. The makefile also sets some flags to provide stricter checks than what are run during the normal build process.

As clang and gcc can behave differently changes should be tested against both. To explicitly set the compiler used run make ${target} CC=${CC} where target is likely build or check and CC is either clang or gcc.

Owner

  • Name: SpeakEasy2
  • Login: SpeakEasy-2
  • Kind: organization

SpeakEasy2: Champagne community detection algorithm

GitHub Events

Total
  • Release event: 1
  • Push event: 3
  • Fork event: 1
  • Create event: 1
Last Year
  • Release event: 1
  • Push event: 3
  • Fork event: 1
  • Create event: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: 4 months
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • DavidRConnell (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 198 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 7
  • Total maintainers: 1
cran.r-project.org: speakeasyR

Fast and Robust Multi-Scale Graph Clustering

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 198 Last month
Rankings
Dependent packages count: 28.7%
Dependent repos count: 35.4%
Average: 50.1%
Downloads: 86.2%
Maintainers (1)
Last synced: 10 months ago

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • Matrix * imports
  • igraph * suggests
.github/workflows/rhub.yaml actions
  • r-hub/actions/checkout v1 composite
  • r-hub/actions/platform-info v1 composite
  • r-hub/actions/run-check v1 composite
  • r-hub/actions/setup v1 composite
  • r-hub/actions/setup-deps v1 composite
  • r-hub/actions/setup-r v1 composite
.github/workflows/release.yaml actions
  • actions/download-artifact v4 composite
  • softprops/action-gh-release v1 composite