{
  "_id": "6a1d37fa1d7bb097a0a3dc61",
  "Package": "multiclassPairs",
  "Type": "Package",
  "Title": "Build MultiClass Pair-Based Classifiers using TSPs or RF",
  "Version": "0.4.3",
  "Author": "Nour-al-dain Marzouka",
  "Maintainer": "Nour-al-dain Marzouka <Nour-al-dain.Marzouka@med.lu.se>",
  "Description": "A toolbox to train a single sample classifier that uses\nin-sample feature relationships. The relationships are\nrepresented as feature1 < feature2 (e.g. gene1 < gene2). We\nprovide two options to go with. First is based on 'switchBox'\npackage which uses Top-score pairs algorithm. Second is a novel\nimplementation based on random forest algorithm. For simple\nproblems we recommend to use one-vs-rest using TSP option due\nto its simplicity and for being easy to interpret.  For complex\nproblems RF performs better.  Both lines filter the features\nfirst then combine the filtered features to make the list of\nall the possible rules (i.e. rule1: feature1 < feature2, rule2:\nfeature1 < feature3, etc...).  Then the list of rules will be\nfiltered and the most important and informative rules will be\nkept. The informative rules will be assembled in an one-vs-rest\nmodel or in an RF model.  We provide a detailed description\nwith each function in this package to explain the filtration\nand training methodology in each line. Reference: Marzouka &\nEriksson (2021) <doi:10.1093/bioinformatics/btab088>.",
  "URL": "https://github.com/NourMarzouka/multiclassPairs",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "biocViews": "Classification",
  "RoxygenNote": "7.1.1",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev libclang-dev",
  "Repository": "https://nourmarzouka.r-universe.dev",
  "Date/Publication": "2023-05-01 13:48:40 UTC",
  "RemoteUrl": "https://github.com/nourmarzouka/multiclasspairs",
  "RemoteRef": "HEAD",
  "RemoteSha": "6c4d9d73c2debf8603df5734c30ea1babe4d47d0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 07:34:47 UTC",
    "User": "root"
  },
  "MD5sum": "826e5ddf51746bff4c908ef9f0aca0b6",
  "_user": "nourmarzouka",
  "_type": "src",
  "_file": "multiclassPairs_0.4.3.tar.gz",
  "_fileid": "591b0c7b9e7fedf3f351f6cf8916b40b569a3579f605163fe2cf4e4d49c15208",
  "_filesize": 2772713,
  "_sha256": "591b0c7b9e7fedf3f351f6cf8916b40b569a3579f605163fe2cf4e4d49c15208",
  "_created": "2026-06-01T07:34:47.000Z",
  "_published": "2026-06-01T07:42:50.497Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78806512241,
      "time": 219,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7325838506"
    },
    {
      "job": 78806512277,
      "time": 203,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7325833794"
    },
    {
      "job": 78806512276,
      "time": 220,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7325863895"
    },
    {
      "job": 78806512251,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7325859998"
    },
    {
      "job": 78805953013,
      "time": 247,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325777304"
    },
    {
      "job": 78806512242,
      "time": 164,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325822549"
    },
    {
      "job": 78806512279,
      "time": 184,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7325828452"
    },
    {
      "job": 78806512244,
      "time": 145,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7325817558"
    },
    {
      "job": 78806512266,
      "time": 147,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7325818495"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nourmarzouka/actions/runs/26741349749",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nourmarzouka/multiclasspairs",
  "_commit": {
    "id": "6c4d9d73c2debf8603df5734c30ea1babe4d47d0",
    "author": "Nour-al-dain Marzouka <Nour-al-dain.Marzouka@med.lu.se>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1682948920
  },
  "_maintainer": {
    "name": "Nour-al-dain Marzouka",
    "email": "nour-al-dain.marzouka@med.lu.se"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "ranger",
      "role": "Imports"
    },
    {
      "package": "Boruta",
      "role": "Imports"
    },
    {
      "package": "dunn.test",
      "role": "Imports"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "e1071",
      "role": "Imports"
    },
    {
      "package": "rdist",
      "role": "Imports"
    },
    {
      "package": "BiocManager",
      "role": "Suggests"
    },
    {
      "package": "Biobase",
      "role": "Suggests"
    },
    {
      "package": "switchBox",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "BiocStyle",
      "role": "Suggests"
    },
    {
      "package": "leukemiasEset",
      "role": "Suggests"
    },
    {
      "package": "qpdf",
      "role": "Suggests"
    }
  ],
  "_owner": "nourmarzouka",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "classification"
  ],
  "_stars": 13,
  "_userbio": {
    "uuid": 9035751,
    "type": "user",
    "name": "Nour-al-dain Marzouka"
  },
  "_downloads": {
    "count": 215,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/multiclassPairs"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/nourmarzouka/multiclasspairs",
  "_searchresults": 16,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/multiclassPairs.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nourmarzouka/multiclasspairs",
  "_realowner": "nourmarzouka",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.6",
      "date": "2020-09-10"
    },
    {
      "version": "0.2.0",
      "date": "2020-09-28"
    },
    {
      "version": "0.2.1",
      "date": "2020-09-30"
    },
    {
      "version": "0.3.0",
      "date": "2020-11-10"
    },
    {
      "version": "0.3.1",
      "date": "2020-11-16"
    },
    {
      "version": "0.4.0",
      "date": "2020-11-20"
    },
    {
      "version": "0.4.1",
      "date": "2021-01-27"
    },
    {
      "version": "0.4.2",
      "date": "2021-02-10"
    },
    {
      "version": "0.4.3",
      "date": "2021-05-17"
    }
  ],
  "_exports": [
    "filter_genes_TSP",
    "optimize_RF",
    "plot_binary_RF",
    "plot_binary_TSP",
    "predict_one_vs_rest_TSP",
    "predict_RF",
    "proximity_matrix_RF",
    "ReadData",
    "sort_genes_RF",
    "sort_rules_RF",
    "summary_genes_RF",
    "train_one_vs_rest_TSP",
    "train_RF"
  ],
  "_help": [
    {
      "page": "do_dunn_test",
      "title": "internal function",
      "topics": [
        "do_dunn_test"
      ]
    },
    {
      "page": "filter_genes_TSP",
      "title": "Filter genes/features for multiclass one-vs-rest classifier downstream training",
      "topics": [
        "filter_genes_TSP"
      ]
    },
    {
      "page": "group_TSP",
      "title": "Internal function: for grouping labels for one-vs-rest usage",
      "topics": [
        "group_TSP"
      ]
    },
    {
      "page": "optimize_RF",
      "title": "Optimize parameters to be used in training the final RF model",
      "topics": [
        "optimize_RF"
      ]
    },
    {
      "page": "plot_binary_RF",
      "title": "Plot binary rule-based heatmaps",
      "topics": [
        "plot_binary_RF"
      ]
    },
    {
      "page": "plot_binary_TSP",
      "title": "Plot binary rule-based heatmaps",
      "topics": [
        "plot_binary_TSP"
      ]
    },
    {
      "page": "predict_one_vs_rest_TSP",
      "title": "Predict sample class based on one-vs-rest multiclass top score pairs classifier",
      "topics": [
        "predict_one_vs_rest_TSP"
      ]
    },
    {
      "page": "predict_RF",
      "title": "Predict sample class based on gene pair-based random forest classifier",
      "topics": [
        "predict_RF"
      ]
    },
    {
      "page": "print-methods",
      "title": "Methods for Function 'print' in Package 'multiclassPairs'",
      "topics": [
        "print,multiclassPairs_object-method",
        "print,OnevsrestScheme_genes_SB-method",
        "print,OnevsrestScheme_SB-method",
        "print,RandomForest_sorted_genes-method",
        "print,RandomForest_sorted_rules-method",
        "print,rule_based_RandomForest-method",
        "print-methods"
      ]
    },
    {
      "page": "proximity_matrix_RF",
      "title": "Plot binary rule-based heatmaps",
      "topics": [
        "proximity_matrix_RF"
      ]
    },
    {
      "page": "ReadData",
      "title": "Function for preparing data object",
      "topics": [
        "ReadData"
      ]
    },
    {
      "page": "sort_genes_RF",
      "title": "Sort genes/features for pair-based random forest classifier downstream steps",
      "topics": [
        "sort_genes_RF"
      ]
    },
    {
      "page": "sort_rules_RF",
      "title": "Create and sort feature/gene pairs for pair-based random forest classifier training step",
      "topics": [
        "sort_rules_RF"
      ]
    },
    {
      "page": "summary_genes_RF",
      "title": "Summarize sorted genes to rules",
      "topics": [
        "summary_genes_RF"
      ]
    },
    {
      "page": "train_one_vs_rest_TSP",
      "title": "Build multiclass rule-based classifier as one-vs-rest scheme",
      "topics": [
        "train_one_vs_rest_TSP"
      ]
    },
    {
      "page": "train_RF",
      "title": "Train pair-based random forest model",
      "topics": [
        "train_RF"
      ]
    }
  ],
  "_readme": "https://github.com/nourmarzouka/multiclasspairs/raw/HEAD/README.md",
  "_rundeps": [
    "Boruta",
    "ca",
    "caret",
    "class",
    "cli",
    "clock",
    "cluster",
    "codetools",
    "colorspace",
    "corrr",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "dplyr",
    "dunn.test",
    "e1071",
    "farver",
    "foreach",
    "fru",
    "future",
    "future.apply",
    "gclus",
    "generics",
    "ggplot2",
    "ggrepel",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "ipred",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "mgcv",
    "ModelMetrics",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "permute",
    "pillar",
    "pkgconfig",
    "plyr",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "purrr",
    "qap",
    "R6",
    "ranger",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rdist",
    "recipes",
    "registry",
    "reshape2",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "scrutiny",
    "seriation",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "TSP",
    "tzdb",
    "utf8",
    "vctrs",
    "vegan",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "Tutorial.Rmd",
      "filename": "Tutorial.html",
      "title": "Tutorial for multiclassPairs R package",
      "author": "By Nour-al-dain Marzouka",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Workflow",
        "Create data object",
        "One-vs-rest scheme",
        "Gene filtering",
        "Model training",
        "Prediction",
        "Visualization",
        "Random Forest scheme",
        "Gene sorting",
        "Rule sorting",
        "Training Accuracy",
        "Disjoint rules",
        "Comparison",
        "Session info"
      ],
      "created": "2020-11-06 11:10:00",
      "modified": "2021-05-16 19:47:54",
      "commits": 6
    }
  ],
  "_score": 5.017033339298781,
  "_indexed": true,
  "_nocasepkg": "multiclasspairs",
  "_universes": [
    "nourmarzouka"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-06-01T07:37:46.000Z",
      "distro": "noble",
      "commit": "6c4d9d73c2debf8603df5734c30ea1babe4d47d0",
      "fileid": "c67f3bff9b08090540682900f80325712abdd856485ac441c0e0ed62507e022a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nourmarzouka/actions/runs/26741349749"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-06-01T07:37:38.000Z",
      "distro": "noble",
      "commit": "6c4d9d73c2debf8603df5734c30ea1babe4d47d0",
      "fileid": "eef7e6186d4b8c93fc025830944c66d856d1d38cbaa0efb3bb1f70138bc2df96",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nourmarzouka/actions/runs/26741349749"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-06-01T07:39:41.000Z",
      "commit": "6c4d9d73c2debf8603df5734c30ea1babe4d47d0",
      "fileid": "ae0f7c39998283cea8b507184599adee2b8bccefd4a52f100acd387503814f18",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nourmarzouka/actions/runs/26741349749"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-06-01T07:39:28.000Z",
      "commit": "6c4d9d73c2debf8603df5734c30ea1babe4d47d0",
      "fileid": "d7b255b4ea46f049b9515b5ce4d29d572a07ddcea257e665662707c96f68e520",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nourmarzouka/actions/runs/26741349749"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.3",
      "date": "2026-06-01T07:37:53.000Z",
      "commit": "6c4d9d73c2debf8603df5734c30ea1babe4d47d0",
      "fileid": "e20c716a0b6faa45183cd6613a8ee387518bc5004f2a6b09b119fb303f54cf9e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nourmarzouka/actions/runs/26741349749"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-06-01T07:36:59.000Z",
      "commit": "6c4d9d73c2debf8603df5734c30ea1babe4d47d0",
      "fileid": "594c3c0a8e36f5507779c5d8db181a1c10cce15de52cb57ea057401c2c67f8a1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nourmarzouka/actions/runs/26741349749"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-06-01T07:36:27.000Z",
      "commit": "6c4d9d73c2debf8603df5734c30ea1babe4d47d0",
      "fileid": "669c3b040196a2711d19d92a662ccfcf5d2411d2ae25577932da58e5460c4a42",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nourmarzouka/actions/runs/26741349749"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-06-01T07:36:31.000Z",
      "commit": "6c4d9d73c2debf8603df5734c30ea1babe4d47d0",
      "fileid": "32a68c72aa6c5c0d24eaadc4cf0effd1ee2d45f922355d47c98f23563f5c4972",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/nourmarzouka/actions/runs/26741349749"
    }
  ]
}