Build MultiClass Pair-Based Classifiers using TSPs or RF
Overview
A toolbox to train a single sample classifier that uses in-sample feature relationships. The relationships are represented as feature1 < feature2 (e.g. gene1 < gene2). We provide two options to go with. First is based on 'switchBox' package which uses Top-score pairs algorithm. Second is a novel implementation based on random forest algorithm. For simple problems we recommend to use one-vs-rest using TSP option due to its simplicity and for being easy to interpret. For complex problems RF performs better. Both lines filter the features first then combine the filtered features to make the list of all the possible rules (i.e. rule1: feature1 < feature2, rule2: feature1 < feature3, etc...). Then the list of rules will be filtered and the most important and informative rules will be kept. The informative rules will be assembled in an one-vs-rest model or in an RF model. We provide a detailed description with each function in this package to explain the filtration and training methodology in each line. Reference: Marzouka & Eriksson (2021) doi:10.1093/bioinformatics/btab088.
minor CRAN fixes
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Nour-al-dain Marzouka <Nour-al-dain.Marzouka@med.lu.se>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Nour-al-dain",
family = "Marzouka",
role = c("aut", "cre"),
email = "nour-al-dain.marzouka@med.lu.se")
as necessary.- NOTE11 OK, 2 NOTE2026-06-09
- ERROR11 OK, 1 NOTE, 1 ERROR2026-06-08
- NOTE11 OK, 2 NOTE2026-05-02
- ERROR9 OK, 2 NOTE, 1 ERROR2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 16
- Examples that run
- 100%14 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Issues over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/nourmarzouka/multiclasspairs on 2026-10-18.
Dependencies
Installing multiclassPairs adds 70 packages (39 with compiled code, 52 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.4.3Latest
- 0.4.22021-02-10 · diff ↗
- 0.4.12021-01-27 · diff ↗
- 0.4.02020-11-20 · diff ↗
- 0.3.12020-11-16 · diff ↗
- 0.3.0
- 0.2.12020-09-30 · diff ↗
- 0.2.0
- 0.1.62020-09-10
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-09-10
- Total releases
- 9 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 1.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("multiclassPairs")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.