{
  "_id": "6aa95020089bafb098cfdb96",
  "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",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-15 13:53:19 UTC",
    "User": "root"
  },
  "Author": "Chia-Yu Chang [aut], Chun-houh Chen [aut], Han-Ming Wu [cre,\naut]",
  "Maintainer": "Han-Ming Wu <wuhm@g.nccu.edu.tw>",
  "Config/pak/sysreqs": "libicu-dev libpng-dev perl",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-09-15 02:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/dtGAP",
  "RemoteSha": "f6116126e6406874160cc8123a31a2ff76bdd7a1",
  "RemoteSubdir": "dtGAP",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "dtGAP_0.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/638a4d4131835a37de29d5328eaf0965e130d8d3d45a660d4ddd10f83afbdde5",
  "_filesize": 2835595,
  "_sha256": "638a4d4131835a37de29d5328eaf0965e130d8d3d45a660d4ddd10f83afbdde5",
  "_expires": "2026-12-24T14:03:08.000Z",
  "_created": "2026-09-15T13:53:19.000Z",
  "_published": "2026-09-15T14:03:12.063Z",
  "_jobs": [
    {
      "job": 104410565864,
      "time": 227,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10400137942"
    },
    {
      "job": 104410565435,
      "time": 237,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10400312075"
    },
    {
      "job": 104410565422,
      "time": 157,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10400736226"
    },
    {
      "job": 104410565667,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10400532323"
    },
    {
      "job": 104408955213,
      "time": 251,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10399989080"
    },
    {
      "job": 104410565371,
      "time": 170,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10400018397"
    },
    {
      "job": 104410565423,
      "time": 172,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10399748595"
    },
    {
      "job": 104410566287,
      "time": 200,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10399544187"
    },
    {
      "job": 104410565601,
      "time": 174,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10400162648"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/34977484483",
  "_status": "success",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_commit": {
    "id": "f6116126e6406874160cc8123a31a2ff76bdd7a1",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add dtGAP to CRANhaven, because archived on 2026-09-15 02:02:00 +0000\n",
    "time": 1789437720
  },
  "_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
  },
  "_distro": "resolute",
  "_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": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-38",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "followers": 3,
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 255,
    "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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hanmingwu1103/dtgap",
  "_realowner": "hanmingwu1103",
  "_cranurl": false,
  "_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/cranhaven/cranhaven.r-universe.dev/raw/package/dtGAP/dtGAP/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",
    "mgcv",
    "ModelMetrics",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "partykit",
    "permute",
    "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",
    "vegan",
    "viridisLite",
    "withr",
    "yardstick",
    "zoo"
  ],
  "_score": 2.3979400086720375,
  "_indexed": false,
  "_nocasepkg": "dtgap",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://hanmingwu1103.r-universe.dev/dtGAP",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-09-15T13:56:01.000Z",
      "distro": "resolute",
      "commit": "f6116126e6406874160cc8123a31a2ff76bdd7a1",
      "fileid": "https://r2.ropensci.org/63d4752a05604a383e4ebcd91a351dbb4302a44ff724627476c5cfa3bc2ca0c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/34977484483"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-09-15T13:56:10.000Z",
      "distro": "resolute",
      "commit": "f6116126e6406874160cc8123a31a2ff76bdd7a1",
      "fileid": "https://r2.ropensci.org/f9f92ed04b6a11f7b96e1ee3e15f4d1d013ed4fc3760f937a7a019fb5dc240d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/34977484483"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-09-15T13:59:04.000Z",
      "commit": "f6116126e6406874160cc8123a31a2ff76bdd7a1",
      "fileid": "https://r2.ropensci.org/2e7a987d4c0abb0dfe3ed81a4b0c3b0ee7554c9f26728ff1105fc7a4a28c7c72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/34977484483"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-09-15T14:01:38.000Z",
      "commit": "f6116126e6406874160cc8123a31a2ff76bdd7a1",
      "fileid": "https://r2.ropensci.org/90a1d9c3997c87a3c2ecf4952f9ee768828a8ba61a7d5348d7de638b95f19e01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/34977484483"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-09-15T13:56:31.000Z",
      "commit": "f6116126e6406874160cc8123a31a2ff76bdd7a1",
      "fileid": "https://r2.ropensci.org/e96e260c757f2a45c9732edb6ed68f60718045cbe9bff26cba399c17bde10549",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/34977484483"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-09-15T13:54:46.000Z",
      "commit": "f6116126e6406874160cc8123a31a2ff76bdd7a1",
      "fileid": "https://r2.ropensci.org/57fd56bda00050b2ca7bc7f11c7d2217c90bf9d1b9a077a92f8b77eb390e8edc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/34977484483"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-09-15T13:55:36.000Z",
      "commit": "f6116126e6406874160cc8123a31a2ff76bdd7a1",
      "fileid": "https://r2.ropensci.org/63fa0ca179f4e3f602afd8d80ad27897e92233807787afff4102ebeb516da0b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/34977484483"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-09-15T13:54:53.000Z",
      "commit": "f6116126e6406874160cc8123a31a2ff76bdd7a1",
      "fileid": "https://r2.ropensci.org/29b62c53cdada5652c086562d3ec24ced7e19c3ed750a4b666ee2ef78e395daf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/34977484483"
    }
  ]
}