Skip to content

metasnf

2.3.0

Meta Clustering with Similarity Network Fusion

0packages depend
3.5Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Prashanth S VelayudhanFirst published 2024-11-087 releasesCRAN page ↗GitHub ↗

Framework to facilitate patient subtyping with similarity network fusion and meta clustering. The similarity network fusion (SNF) algorithm was introduced by Wang et al. (2014) in doi:10.1038/nmeth.2810. SNF is a data integration approach that can transform high-dimensional and diverse data types into a single similarity network suitable for clustering with minimal loss of information from each initial data source. The meta clustering approach was introduced by Caruana et al. (2006) in doi:10.1109/ICDM.2006.103. Meta clustering involves generating a wide range of cluster solutions by adjusting clustering hyperparameters, then clustering the solutions themselves into a manageable number of qualitatively similar solutions, and finally characterizing representative solutions to find ones that are best for the user's specific context. This package provides a framework to easily transform multi-modal data into a wide range of similarity network fusion-derived cluster solutions as well as to visualize, characterize, and validate those solutions. Core package functionality includes easy customization of distance metrics, clustering algorithms, and SNF hyperparameters to generate diverse clustering solutions; calculation and plotting of associations between features, between patients, and between cluster solutions; and standard cluster validation approaches including resampled measures of cluster stability, standard metrics of cluster quality, and label propagation to evaluate generalizability in unseen data. Associated vignettes guide the user through using the package to identify patient subtypes while adhering to best practices for unsupervised learning.

Install

Health

CRAN checks
13OK
Slowest check: 14.2 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.02
not tracked
Coverage
100%
Documentation · exports
Yes
Vignettes
Yes
README
19
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • WARNING2026-06-07
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-12
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-05-11
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

3.5K
CRAN downloads in the past year
Rank #12,397 · ~9/day · ~288/mo
metasnf
Daily download trend is not available in this view yet.
46230 days
85990 days
3.5K1 year
Compare downloads with other packages →
Also on154 r2u22 autocran

Repository

Repository
9Stars
0Forks
0Open issues
0Open PRs
1Releases
bioinformaticsclusteringmetaclusteringrsnf
License GPL-3.0

Dependencies

Declared dependencies
24 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 13,636 (50%)Rd 9,254 (34%)Vignettes 4,371 (16%)
Code characteristics
Object systems
S3152
Cyclomatic complexity
1.0 median / 36 max
Test cases
11 / 0.02 per code line
Documented parameters
99%

Test coverage

Line coverage

Expression

Tests / Examples

Functions

354 106 exported

Complexity

2.4 avg / 36 max

Call network

354 nodes / 425 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (16)
Maintainer (1)
Author, Maintainer
Authors (16)
Author, Maintainer
Author
Author
Author
Author, Thesis advisor
Release timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 2.3.0Latest
    2026-06-20 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.1.2
    2025-04-28 · diff ↗
  • 2.1.1
    2025-04-25 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.0.6
    2025-03-25 · diff ↗
  • 2.0.0
    2025-02-04 · diff ↗
  • 1.1.2
    2024-11-09 · diff ↗
  • 1.1.1
    2024-11-08
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-11-08
Total releases
7 / 2 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Bundled data
424 KB / 38 files
Download size
4.6 MB
Installed size
not tracked yet
With dependencies
not tracked yet