{
  "_id": "6a4a03849ce196b5e5a916c2",
  "Type": "Package",
  "Package": "treeheatr",
  "Title": "Heatmap-Integrated Decision Tree Visualizations",
  "Version": "0.2.3.9000",
  "Authors@R": "c(\nperson(\"Trang\", \"Le\", , \"grixor@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = \"https://trang.page/\"),\nperson(\"Jason\", \"Moore\", , \"jhmoore@upenn.edu\", role = \"aut\",\ncomment = \"http://www.epistasisblog.org/\"),\nperson(\"University of Pennsylvania\", role = \"cph\")\n)",
  "Maintainer": "Trang Le <grixor@gmail.com>",
  "Description": "Creates interpretable decision tree visualizations with\nthe data represented as a heatmap at the tree's leaf nodes.\n'treeheatr' utilizes the customizable 'ggparty' package for\ndrawing decision trees.",
  "License": "MIT + file LICENSE",
  "URL": "https://trangdata.github.io/treeheatr/index.html,\nhttps://trangdata.github.io/treeheatr-manuscript/,\nhttps://github.com/trangdata/treeheatr",
  "BugReports": "https://github.com/trangdata/treeheatr/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://trangdata.r-universe.dev",
  "Date/Publication": "2026-02-11 18:36:59 UTC",
  "RemoteUrl": "https://github.com/trangdata/treeheatr",
  "RemoteRef": "HEAD",
  "RemoteSha": "98127b2f57cd870926590283670b02c8c5263de6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-11 07:53:47 UTC",
    "User": "root"
  },
  "Author": "Trang Le [aut, cre] (https://trang.page/),\nJason Moore [aut] (http://www.epistasisblog.org/),\nUniversity of Pennsylvania [cph]",
  "_user": "trangdata",
  "_type": "src",
  "_file": "treeheatr_0.2.3.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/36204ba39974995ec8408dc0c125ac9bd783ec7f74805a8e0b095e4839a47aa8",
  "_filesize": 2687256,
  "_sha256": "36204ba39974995ec8408dc0c125ac9bd783ec7f74805a8e0b095e4839a47aa8",
  "_expires": "2026-10-13T07:10:58.000Z",
  "_created": "2026-06-11T07:53:47.000Z",
  "_published": "2026-07-05T07:11:00.371Z",
  "_jobs": [
    {
      "job": 85201900933,
      "time": 185,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7558107391"
    },
    {
      "job": 85201900944,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558098388"
    },
    {
      "job": 85201901072,
      "time": 200,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7558098159"
    },
    {
      "job": 85201900865,
      "time": 198,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558100239"
    },
    {
      "job": 85201900845,
      "time": 271,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558041128"
    },
    {
      "job": 85201900939,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558086739"
    },
    {
      "job": 85201901013,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7558080078"
    },
    {
      "job": 85201901021,
      "time": 108,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7558079095"
    },
    {
      "job": 85201900970,
      "time": 113,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558081408"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/trangdata/actions/runs/27332095060",
  "_status": "success",
  "_upstream": "https://github.com/trangdata/treeheatr",
  "_commit": {
    "id": "98127b2f57cd870926590283670b02c8c5263de6",
    "author": "Trang Le <trang.le@bms.com>",
    "committer": "Trang Le <trang.le@bms.com>",
    "message": "Increment version number to 0.2.3.9000\n",
    "time": 1770835019
  },
  "_maintainer": {
    "name": "Trang Le",
    "email": "grixor@gmail.com",
    "login": "trangdata",
    "twitter": "@trangdata",
    "description": "scientist",
    "uuid": 1679452
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "cluster",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggnewscale",
      "role": "Imports"
    },
    {
      "package": "ggparty",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "gtable",
      "role": "Imports"
    },
    {
      "package": "partykit",
      "role": "Imports"
    },
    {
      "package": "seriation",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "yardstick",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rpart",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "trangdata",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 8
    },
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-07",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.2.3",
      "date": "2026-01-29"
    }
  ],
  "_topics": [
    "dataviz",
    "decision-trees",
    "ggplot",
    "heatmap",
    "visualization"
  ],
  "_stars": 60,
  "_contributors": [
    {
      "user": "trangdata",
      "count": 274,
      "uuid": 1679452
    },
    {
      "user": "benmarwick",
      "count": 1,
      "uuid": 1262179
    },
    {
      "user": "davisvaughan",
      "count": 1,
      "uuid": 19150088
    }
  ],
  "_userbio": {
    "uuid": 1679452,
    "type": "user",
    "name": "Trang Le",
    "description": "scientist"
  },
  "_downloads": {
    "count": 289,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/treeheatr"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/trangdata/treeheatr",
  "_searchresults": 27,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/treeheatr.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/trangdata/treeheatr",
  "_realowner": "trangdata",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-06-17"
    },
    {
      "version": "0.2.1",
      "date": "2020-11-19"
    },
    {
      "version": "0.2.3",
      "date": "2026-01-29"
    }
  ],
  "_exports": [
    "compute_tree",
    "draw_heat",
    "draw_tree",
    "eval_tree",
    "heat_tree",
    "scale_norm",
    "treeheatr"
  ],
  "_datasets": [
    {
      "name": "diabetes",
      "title": "Diabetes patient records.",
      "object": "diabetes",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "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": [
        "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": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "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": "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": [
        "Type",
        "Alcohol",
        "Malic",
        "Ash",
        "Alcalinity",
        "Magnesium",
        "Phenols",
        "Flavanoids",
        "Nonflavanoids",
        "Proanthocyanins",
        "Color",
        "Hue",
        "Dilution",
        "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": [
        "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": "align_plots",
      "title": "Align decision tree and heatmap:",
      "topics": [
        "align_plots"
      ]
    },
    {
      "page": "clust_feat_func",
      "title": "Performs clustering or features.",
      "topics": [
        "clust_feat_func"
      ]
    },
    {
      "page": "clust_samp_func",
      "title": "Performs clustering of samples.",
      "topics": [
        "clust_samp_func"
      ]
    },
    {
      "page": "compute_tree",
      "title": "Compute decision tree from data set",
      "topics": [
        "compute_tree"
      ]
    },
    {
      "page": "diabetes",
      "title": "Diabetes patient records.",
      "topics": [
        "diabetes"
      ]
    },
    {
      "page": "draw_heat",
      "title": "Draws the heatmap.",
      "topics": [
        "draw_heat"
      ]
    },
    {
      "page": "draw_tree",
      "title": "Draws the conditional decision tree.",
      "topics": [
        "draw_tree"
      ]
    },
    {
      "page": "eval_tree",
      "title": "Print decision tree performance according to different metrics.",
      "topics": [
        "eval_tree"
      ]
    },
    {
      "page": "galaxy",
      "title": "Galaxy dataset for regression.",
      "topics": [
        "galaxy"
      ]
    },
    {
      "page": "get_cols",
      "title": "Get color functions from character vectors",
      "topics": [
        "get_cols"
      ]
    },
    {
      "page": "get_disp_feats",
      "title": "Select the important features to be displayed.",
      "topics": [
        "get_disp_feats"
      ]
    },
    {
      "page": "get_fit-methods",
      "title": "---------------------------- Get the fitted tree depending on the input `x`.",
      "topics": [
        "get_fit",
        "get_fit.data.frame",
        "get_fit.default",
        "get_fit.party",
        "get_fit.partynode"
      ]
    },
    {
      "page": "heat_tree",
      "title": "Draws and aligns decision tree and heatmap.",
      "topics": [
        "heat_tree",
        "treeheatr"
      ]
    },
    {
      "page": "penguins",
      "title": "Data of three different species of penguins.",
      "topics": [
        "penguins"
      ]
    },
    {
      "page": "position_nodes",
      "title": "Creates smart node layout.",
      "topics": [
        "position_nodes"
      ]
    },
    {
      "page": "prediction_df",
      "title": "Apply the predicted tree on either new test data or training data.",
      "topics": [
        "prediction_df"
      ]
    },
    {
      "page": "prep_data",
      "title": "---------------------------- Prepare dataset",
      "topics": [
        "prep_data"
      ]
    },
    {
      "page": "prepare_feats",
      "title": "Prepares the feature dataframes for tiles.",
      "topics": [
        "prepare_feats"
      ]
    },
    {
      "page": "scale_norm",
      "title": "Performs transformation on continuous variables.",
      "topics": [
        "scale_norm"
      ]
    },
    {
      "page": "term_node_pos",
      "title": "Determines terminal node position.",
      "topics": [
        "term_node_pos"
      ]
    },
    {
      "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": "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"
      ]
    }
  ],
  "_pkglogo": "https://trangdata.github.io/treeheatr/reference/figures/card.png",
  "_readme": "https://github.com/trangdata/treeheatr/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "ca",
    "checkmate",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "cpp11",
    "dplyr",
    "farver",
    "foreach",
    "Formula",
    "gclus",
    "generics",
    "ggnewscale",
    "ggparty",
    "ggplot2",
    "glue",
    "gtable",
    "hardhat",
    "inum",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "libcoin",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "mgcv",
    "mvtnorm",
    "nlme",
    "partykit",
    "permute",
    "pillar",
    "pkgconfig",
    "purrr",
    "qap",
    "R6",
    "RColorBrewer",
    "registry",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "seriation",
    "sparsevctrs",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "TSP",
    "utf8",
    "vctrs",
    "vegan",
    "viridisLite",
    "withr",
    "yardstick"
  ],
  "_vignettes": [
    {
      "source": "explore.Rmd",
      "filename": "explore.html",
      "title": "Explore treeheatr",
      "author": "Trang Le",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Let's begin",
        "You're the Warren Beatty of your heat_tree()",
        "Pre-train your tree",
        "Manually define your tree with partysplit and partynode",
        "Apply the learned tree on external/holdout/test/validation dataset",
        "Regression",
        "Smart node layout",
        "Seriation",
        "Mixed data/feature types"
      ],
      "created": "2020-04-20 01:12:42",
      "modified": "2021-03-18 14:16:33",
      "commits": 43
    }
  ],
  "_score": 6.811575005870594,
  "_indexed": true,
  "_nocasepkg": "treeheatr",
  "_universes": [
    "trangdata"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3.9000",
      "date": "2026-06-11T07:56:29.000Z",
      "distro": "noble",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "https://r2.ropensci.org/df7cfeaa09df2d1e58ff3eba19a999ec1e4b1e0e225414a8dfeb982ac908b8dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/27332095060"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3.9000",
      "date": "2026-06-11T07:56:07.000Z",
      "distro": "noble",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "https://r2.ropensci.org/5b26fea299eb4862dc6c0ea5199a896a081b4ba044770404cf9ced1cae71257f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/27332095060"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3.9000",
      "date": "2026-06-11T07:56:16.000Z",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "https://r2.ropensci.org/a0c8fd78eed5c39ad8b5eb2e97a3f92ab949e82dea8f810a4969a57c03f76615",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/27332095060"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3.9000",
      "date": "2026-06-11T07:56:00.000Z",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "https://r2.ropensci.org/c5b4d8e1dc4a77c55e758d4773df15c8a55ee472878bf4b468cbce678ee4fd0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/27332095060"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3.9000",
      "date": "2026-06-11T07:56:14.000Z",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "https://r2.ropensci.org/1d9551e5ee4e33c5f95e4cb797a037f1f57012402da0f68fa9eb3f7da22ca66a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/27332095060"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3.9000",
      "date": "2026-06-11T07:55:08.000Z",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "https://r2.ropensci.org/6e149d149ad8852bc655f17cb925e473bb22496900608f1ac7b0710ee467a472",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/27332095060"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3.9000",
      "date": "2026-06-11T07:55:07.000Z",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "https://r2.ropensci.org/98d05ed25215af4b253472537b4747a1676cc04602b966be013019b73d20652e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/27332095060"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.3.9000",
      "date": "2026-06-11T07:55:06.000Z",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "https://r2.ropensci.org/226ad0552197077c1b7a7b911a50b66cb6e62625c42c3c7fba0136f107087cf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/27332095060"
    }
  ]
}