{
  "_id": "6ad70fc30d12c08e591b7fa3",
  "Package": "dtGAP",
  "Type": "Package",
  "Title": "Supervised Generalized Association Plots Based on Decision Trees",
  "Version": "0.0.2",
  "Date": "2026-02-13",
  "Authors@R": "c(\nperson(\"Chia-Yu\", \"Chang\", email = \"110304049@g.nccu.edu.tw\", role = \"aut\"),\nperson(\"Chun-houh\", \"Chen\", email = \"cchen@stat.sinica.edu.tw\", role = \"aut\"),\nperson(\"Han-Ming\", \"Wu\", email = \"wuhm@g.nccu.edu.tw\", role = c(\"cre\", \"aut\")))",
  "Description": "Enhances decision tree visualization by incorporating\nGeneralized Association Plots (GAP) through matrix-based\nvisualizations including confusion matrix maps, decision tree\nmatrix maps, and predicted class membership maps based on\nsupervised correlation and distance metrics.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/hanmingwu1103/dtGAP,\nhttps://CRAN.R-project.org/package=dtGAP",
  "BugReports": "https://github.com/hanmingwu1103/dtGAP/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "Config/pak/sysreqs": "libicu-dev libpng-dev perl",
  "Repository": "https://hanmingwu1103.r-universe.dev",
  "Date/Publication": "2026-02-14 09:44:49 UTC",
  "RemoteUrl": "https://github.com/hanmingwu1103/dtgap",
  "RemoteRef": "HEAD",
  "RemoteSha": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-20 06:47:13 UTC",
    "User": "root"
  },
  "Author": "Chia-Yu Chang [aut],\nChun-houh Chen [aut],\nHan-Ming Wu [cre, aut]",
  "Maintainer": "Han-Ming Wu <wuhm@g.nccu.edu.tw>",
  "_user": "hanmingwu1103",
  "_type": "src",
  "_file": "dtGAP_0.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/3827a588191729947a29be8aa16ffe7daa3a5ac08087e770781f7041a69cfa56",
  "_filesize": 2688176,
  "_sha256": "3827a588191729947a29be8aa16ffe7daa3a5ac08087e770781f7041a69cfa56",
  "_expires": "2027-01-28T06:52:49.000Z",
  "_created": "2026-10-20T06:47:13.000Z",
  "_published": "2026-10-20T06:52:51.112Z",
  "_upstream": "https://github.com/hanmingwu1103/dtgap",
  "_status": "success",
  "_maintainer": {
    "name": "Han-Ming Wu",
    "email": "wuhm@g.nccu.edu.tw",
    "login": "hanmingwu1103",
    "description": "Associate Professor,\nDepartment of Statistics, National Chengchi University\n",
    "uuid": 130949693
  },
  "_jobs": [
    {
      "job": 118494468225,
      "time": 227,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12246156892"
    },
    {
      "job": 118494468198,
      "time": 230,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12246216577"
    },
    {
      "job": 118494468327,
      "time": 283,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12245882165"
    },
    {
      "job": 118494468257,
      "time": 251,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12246710517"
    },
    {
      "job": 118492745850,
      "time": 326,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12245569811"
    },
    {
      "job": 118494468183,
      "time": 158,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12245977678"
    },
    {
      "job": 118494468234,
      "time": 173,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12246535375"
    },
    {
      "job": 118494468274,
      "time": 165,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12246446047"
    },
    {
      "job": 118494468268,
      "time": 166,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12246325688"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/39381891532",
  "_commit": {
    "id": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
    "author": "Wu, Han-Ming (Hank) <130949693+hanmingwu1103@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #25 from hanmingwu1103/update-cran-comments\r\n\r\nUpdate cran-comments.md for 0.0.2 submission\r\n",
    "time": 1771062289
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "C50",
      "role": "Imports"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "circlize",
      "role": "Imports"
    },
    {
      "package": "ComplexHeatmap",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggparty",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "partykit",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "rpart",
      "role": "Imports"
    },
    {
      "package": "seriation",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "yardstick",
      "role": "Imports"
    },
    {
      "package": "InteractiveComplexHeatmap",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "hanmingwu1103",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-07",
      "n": 29
    }
  ],
  "_tags": [
    {
      "name": "v0.0.1",
      "date": "2026-02-12"
    },
    {
      "name": "v0.0.2",
      "date": "2026-02-13"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "hanmingwu1103",
      "count": 55,
      "uuid": 130949693
    }
  ],
  "_userbio": {
    "uuid": 130949693,
    "type": "user",
    "name": "Wu, Han-Ming (Hank)",
    "followers": 2,
    "description": "Associate Professor,\r\nDepartment of Statistics, National Chengchi University\r\n"
  },
  "_downloads": {
    "count": 34,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dtGAP"
  },
  "_devurl": "https://github.com/hanmingwu1103/dtgap",
  "_searchresults": 1,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dtGAP.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/hanmingwu1103/dtgap",
  "_realowner": "hanmingwu1103",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2026-02-18"
    }
  ],
  "_exports": [
    "add_data_type",
    "col_ht",
    "compare_dtGAP",
    "compute_layout",
    "compute_tree",
    "draw_all",
    "dtGAP",
    "eval_tree",
    "generate_legend_bundle",
    "get_split_vec",
    "make_main_heatmap",
    "prediction_annotation",
    "prepare_features",
    "prepare_tree",
    "rf_dtGAP",
    "rf_summary",
    "row_prop_anno",
    "save_dtGAP",
    "scale_norm",
    "sorted_mat",
    "train_rf",
    "train_tree"
  ],
  "_datasets": [
    {
      "name": "diabetes",
      "title": "Diabetes patient records.",
      "object": "diabetes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Pregnancies",
        "Glucose",
        "BloodPressure",
        "SkinThickness",
        "Insulin",
        "BMI",
        "DiabetesPedigreeFunction",
        "Age",
        "Outcome"
      ],
      "rows": 768,
      "table": true,
      "tojson": true
    },
    {
      "name": "galaxy",
      "title": "Galaxy dataset for regression.",
      "object": "galaxy",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "eastwest",
        "northsouth",
        "angle",
        "radialposition",
        "target"
      ],
      "rows": 323,
      "table": true,
      "tojson": true
    },
    {
      "name": "penguins",
      "title": "Data of three different species of penguins.",
      "object": "penguins",
      "class": [
        "data.frame"
      ],
      "fields": [
        "species",
        "island",
        "culmen_length_mm",
        "culmen_depth_mm",
        "flipper_length_mm",
        "body_mass_g",
        "sex"
      ],
      "rows": 344,
      "table": true,
      "tojson": true
    },
    {
      "name": "Psychosis_Disorder",
      "title": "Psychosis Disorder Data",
      "object": "Psychosis_Disorder",
      "class": [
        "data.frame"
      ],
      "fields": [
        "UNIQID",
        "AH1",
        "AH2",
        "AH3",
        "AH4",
        "AH5",
        "AH6",
        "DL1",
        "DL2",
        "DL3",
        "DL4",
        "DL5",
        "DL6",
        "DL7",
        "DL8",
        "DL9",
        "DL10",
        "DL11",
        "DL12",
        "BE1",
        "BE2",
        "BE3",
        "BE4",
        "TH1",
        "TH2",
        "TH3",
        "TH4",
        "TH5",
        "TH6",
        "TH7",
        "TH8",
        "NA1",
        "NA2",
        "NA3",
        "NA4",
        "NA5",
        "NA6",
        "NA7",
        "NB1",
        "NB2",
        "NB3",
        "NB4",
        "NC1",
        "NC2",
        "NC3",
        "ND1",
        "ND2",
        "ND3",
        "ND4",
        "NE1",
        "NE2"
      ],
      "rows": 95,
      "table": true,
      "tojson": true
    },
    {
      "name": "test_covid",
      "title": "External test dataset. Medical information of Wuhan patients collected between 2020-01-10 and 2020-02-18.",
      "object": "test_covid",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "LDH",
        "hs_CRP",
        "Lymphocyte",
        "Outcome"
      ],
      "rows": 110,
      "table": true,
      "tojson": true
    },
    {
      "name": "train_covid",
      "title": "Training dataset. Medical information of Wuhan patients collected between 2020-01-10 and 2020-02-18. Containing NAs.",
      "object": "train_covid",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "LDH",
        "hs_CRP",
        "Lymphocyte",
        "Outcome"
      ],
      "rows": 351,
      "table": true,
      "tojson": true
    },
    {
      "name": "wine",
      "title": "Results of a chemical analysis of wines grown in a specific area of Italy.",
      "object": "wine",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "Alcohol",
        "Malic_acid",
        "Ash",
        "Alcalinity_of_ash",
        "Magnesium",
        "Total_phenols",
        "Flavanoids",
        "Nonflavanoid_phenols",
        "Proanthocyanins",
        "Color_intensity",
        "Hue",
        "OD_ratio",
        "Proline"
      ],
      "rows": 178,
      "table": true,
      "tojson": true
    },
    {
      "name": "wine_quality_red",
      "title": "Red variant of the Portuguese \"Vinho Verde\" wine.",
      "object": "wine_quality_red",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "fixed acidity",
        "volatile acidity",
        "citric acid",
        "residual sugar",
        "chlorides",
        "free sulfur dioxide",
        "total sulfur dioxide",
        "density",
        "pH",
        "sulphates",
        "alcohol",
        "target"
      ],
      "rows": 1599,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_data_type",
      "title": "Assigns a train/test indicator to a combined dataset",
      "topics": [
        "add_data_type"
      ]
    },
    {
      "page": "compare_dtGAP",
      "title": "Compare Multiple Decision Tree Models Side-by-Side",
      "topics": [
        "compare_dtGAP"
      ]
    },
    {
      "page": "compute_tree",
      "title": "Compute Decision Tree Data for Plotting and Analysis",
      "topics": [
        "compute_tree"
      ]
    },
    {
      "page": "diabetes",
      "title": "Diabetes patient records.",
      "topics": [
        "diabetes"
      ]
    },
    {
      "page": "draw_all",
      "title": "Draw Full Visualization: Decision Tree with Heatmap and Evaluation",
      "topics": [
        "draw_all"
      ]
    },
    {
      "page": "dtGAP",
      "title": "Decision Tree Generalized Association Plots (dtGAP)",
      "topics": [
        "dtGAP"
      ]
    },
    {
      "page": "eval_tree",
      "title": "Evaluate Tree Model Predictions and Metrics",
      "topics": [
        "eval_tree"
      ]
    },
    {
      "page": "galaxy",
      "title": "Galaxy dataset for regression.",
      "topics": [
        "galaxy"
      ]
    },
    {
      "page": "penguins",
      "title": "Data of three different species of penguins.",
      "topics": [
        "penguins"
      ]
    },
    {
      "page": "prepare_features",
      "title": "Prepare Features for Modeling",
      "topics": [
        "prepare_features"
      ]
    },
    {
      "page": "prepare_tree",
      "title": "Prepare Tree Plot Data for Visualization",
      "topics": [
        "prepare_tree"
      ]
    },
    {
      "page": "Psychosis_Disorder",
      "title": "Psychosis Disorder Data",
      "topics": [
        "Psychosis_Disorder"
      ]
    },
    {
      "page": "rf_dtGAP",
      "title": "Visualize a Single Tree from a Conditional Random Forest",
      "topics": [
        "rf_dtGAP"
      ]
    },
    {
      "page": "rf_summary",
      "title": "Random Forest Ensemble Summary",
      "topics": [
        "rf_summary"
      ]
    },
    {
      "page": "save_dtGAP",
      "title": "Save dtGAP Visualization to File",
      "topics": [
        "save_dtGAP"
      ]
    },
    {
      "page": "scale_norm",
      "title": "Performs transformation on continuous variables.",
      "topics": [
        "scale_norm"
      ]
    },
    {
      "page": "sorted_mat",
      "title": "Sort Feature Matrix by Tree and Correlation Structure",
      "topics": [
        "sorted_mat"
      ]
    },
    {
      "page": "test_covid",
      "title": "External test dataset. Medical information of Wuhan patients collected between 2020-01-10 and 2020-02-18.",
      "topics": [
        "test_covid"
      ]
    },
    {
      "page": "train_covid",
      "title": "Training dataset. Medical information of Wuhan patients collected between 2020-01-10 and 2020-02-18. Containing NAs.",
      "topics": [
        "train_covid"
      ]
    },
    {
      "page": "train_rf",
      "title": "Fit a Conditional Random Forest",
      "topics": [
        "train_rf"
      ]
    },
    {
      "page": "train_tree",
      "title": "Fit a Decision Tree Model",
      "topics": [
        "train_tree"
      ]
    },
    {
      "page": "wine",
      "title": "Results of a chemical analysis of wines grown in a specific area of Italy.",
      "topics": [
        "wine"
      ]
    },
    {
      "page": "wine_quality_red",
      "title": "Red variant of the Portuguese \"Vinho Verde\" wine.",
      "topics": [
        "wine_quality_red"
      ]
    }
  ],
  "_readme": "https://github.com/hanmingwu1103/dtgap/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "BiocGenerics",
    "C50",
    "ca",
    "caret",
    "checkmate",
    "circlize",
    "class",
    "cli",
    "clock",
    "clue",
    "cluster",
    "codetools",
    "colorspace",
    "ComplexHeatmap",
    "cpp11",
    "crayon",
    "Cubist",
    "data.table",
    "diagram",
    "digest",
    "doParallel",
    "dplyr",
    "e1071",
    "farver",
    "foreach",
    "Formula",
    "future",
    "future.apply",
    "gclus",
    "generics",
    "GetoptLong",
    "ggparty",
    "ggplot2",
    "GlobalOptions",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "inum",
    "ipred",
    "IRanges",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lava",
    "libcoin",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "ModelMetrics",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "partykit",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "purrr",
    "qap",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "recipes",
    "registry",
    "reshape2",
    "rjson",
    "rlang",
    "rpart",
    "S4Vectors",
    "S7",
    "sandwich",
    "scales",
    "seriation",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "strucchange",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "TSP",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "yardstick",
    "zoo"
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "dtgap",
  "_universes": [
    "hanmingwu1103"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-10-20T06:50:00.000Z",
      "distro": "resolute",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "https://r2.ropensci.org/166a13f3c850df67378796f2b6190a0b47b76f3d460e6c138f368987e2ca2330",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/39381891532"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-10-20T06:50:07.000Z",
      "distro": "resolute",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "https://r2.ropensci.org/3a932b6d2f48245fefe677b0d5311630302aa9864756412e0eae2008fd4dc23d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/39381891532"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-10-20T06:50:24.000Z",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "https://r2.ropensci.org/51eb50b0d62c876acaa3a3f8c32bdc7d28501d3a75ef1314169206981d33775e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/39381891532"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-10-20T06:49:40.000Z",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "https://r2.ropensci.org/072897ae2c113ec6463dc03de0b64fb0946d814d0a2942955b73448e3b1ddada",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/39381891532"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-10-20T06:50:11.000Z",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "https://r2.ropensci.org/ef806c9a9458f8984932ba4ee14409ed6eb4ae84d3bc60c47724a11b3654c918",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/39381891532"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-10-20T06:48:45.000Z",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "https://r2.ropensci.org/2e798821ba9bc45bd6610dbeec731837fedcdf1130eb1e6099c65e59be308d29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/39381891532"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-10-20T06:48:39.000Z",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "https://r2.ropensci.org/f9fc99194a61f726cd4debc45f80cff862184065a2407eb5e66b4646695ae491",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/39381891532"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-10-20T06:48:39.000Z",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "https://r2.ropensci.org/3a740a91e2f30b777f9268dfee45f2177b46954cf2c42430a6d8221fbcf01713",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/39381891532"
    }
  ]
}