{
  "_id": "6a1d406e1d7bb097a0a40974",
  "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-06-01 08:14:14 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>",
  "MD5sum": "c7db028205ea6a769d4c0f4245945226",
  "_user": "hanmingwu1103",
  "_type": "src",
  "_file": "dtGAP_0.0.2.tar.gz",
  "_fileid": "71524943c9486388d93f7015c1eec8b44cb23b66b189c42ee11d4d1bf6d5fff6",
  "_filesize": 2689390,
  "_sha256": "71524943c9486388d93f7015c1eec8b44cb23b66b189c42ee11d4d1bf6d5fff6",
  "_created": "2026-06-01T08:14:14.000Z",
  "_published": "2026-06-01T08:18:54.264Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78812163906,
      "time": 208,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7326567565"
    },
    {
      "job": 78812164045,
      "time": 235,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326576019"
    },
    {
      "job": 78812163847,
      "time": 183,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7326559970"
    },
    {
      "job": 78812163864,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326541876"
    },
    {
      "job": 78811446343,
      "time": 292,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326501444"
    },
    {
      "job": 78812163835,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326545829"
    },
    {
      "job": 78812163871,
      "time": 195,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7326563447"
    },
    {
      "job": 78812163860,
      "time": 166,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7326554083"
    },
    {
      "job": 78812163867,
      "time": 164,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7326553486"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/26743009077",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hanmingwu1103/dtgap",
  "_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
  },
  "_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
  },
  "_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": 1,
  "_contributors": [
    {
      "user": "hanmingwu1103",
      "count": 55,
      "uuid": 130949693
    }
  ],
  "_userbio": {
    "uuid": 130949693,
    "type": "user",
    "name": "Wu, Han-Ming (Hank)",
    "description": "Associate Professor,\r\nDepartment of Statistics, National Chengchi University\r\n"
  },
  "_downloads": {
    "count": 174,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dtGAP"
  },
  "_devurl": "https://github.com/hanmingwu1103/dtgap",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dtGAP.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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",
    "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",
    "scales",
    "seriation",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "TSP",
    "tzdb",
    "utf8",
    "vctrs",
    "vegan",
    "viridisLite",
    "withr",
    "yardstick"
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "dtgap",
  "_universes": [
    "hanmingwu1103"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-06-01T08:16:47.000Z",
      "distro": "noble",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "15bb5929342182db1291a6fa2a7e1bc9ea430678f81c09295e5ab1fb3aeb7467",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/26743009077"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-06-01T08:17:04.000Z",
      "distro": "noble",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "ea1f9d9425de250aa2df3216e40c3dadaea35625ab38f2fb0b990ed11113a1bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/26743009077"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-06-01T08:16:25.000Z",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "7a743c6f0acfb28acb6b3a5c0d7177a6f5700c694049e1b71910e35f23740775",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/26743009077"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-06-01T08:15:55.000Z",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "b00d5e32db849bbf387cfe57077863c9060ff4a6b7a85ee736cc26f309c49670",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/26743009077"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-06-01T08:17:03.000Z",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "a7bd7bbf356b0378bc7468011fc237adcaf88c49eee9ef59e45d10b8fcc7d4b7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/26743009077"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-06-01T08:16:02.000Z",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "3b28cbb0df944f1ce798c10e7c73ebb5ea17ced32e0654bc63fe424165db058a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/26743009077"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-06-01T08:15:52.000Z",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "c3a386026ada6f345a7f2e8382acfeac75929e6376b40d0fa0ac4038030d30d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/26743009077"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-06-01T08:15:58.000Z",
      "commit": "07d7ba90626e248b8c5ad4df11ec2d5c6ae4af3c",
      "fileid": "981f69e9f7e0dfa40467a530eca1861f97561f1f6758237ca074d44e8810bacb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hanmingwu1103/actions/runs/26743009077"
    }
  ]
}