{
  "_id": "6a10326dacfb0bcc41c9783f",
  "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-05-12 08:43:55 UTC",
    "User": "root"
  },
  "Author": "Trang Le [aut, cre] (https://trang.page/),\nJason Moore [aut] (http://www.epistasisblog.org/),\nUniversity of Pennsylvania [cph]",
  "MD5sum": "3ff164ce05cd3493d07bb4dd78830569",
  "_user": "trangdata",
  "_type": "src",
  "_file": "treeheatr_0.2.3.9000.tar.gz",
  "_fileid": "f7d6dda64028c017ac6a97f786475017ef43f088abd062d0eef86524759a8f34",
  "_filesize": 2690780,
  "_sha256": "f7d6dda64028c017ac6a97f786475017ef43f088abd062d0eef86524759a8f34",
  "_created": "2026-05-12T08:43:55.000Z",
  "_published": "2026-05-22T10:39:41.042Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77363345262,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6939618651"
    },
    {
      "job": 77363345301,
      "time": 165,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6939616749"
    },
    {
      "job": 77363345026,
      "time": 180,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6939608463"
    },
    {
      "job": 77363345939,
      "time": 180,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6939613107"
    },
    {
      "job": 77363344506,
      "time": 275,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6939563083"
    },
    {
      "job": 77363344596,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158543426"
    },
    {
      "job": 77363345033,
      "time": 114,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6939600407"
    },
    {
      "job": 77363345420,
      "time": 114,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6939600330"
    },
    {
      "job": 77363345408,
      "time": 116,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6939600963"
    }
  ],
  "_buildurl": "https://github.com/r-universe/trangdata/actions/runs/25723320970",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 1679452
  },
  "_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": 286,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/treeheatr"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/trangdata/treeheatr",
  "_searchresults": 26,
  "_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.795184589682425,
  "_indexed": true,
  "_nocasepkg": "treeheatr",
  "_universes": [
    "trangdata"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3.9000",
      "date": "2026-05-12T08:46:19.000Z",
      "distro": "noble",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "0be24ec7cc63a99840e7e38be45f38130871a76722c1fe5e1c23465889dbe4f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/25723320970"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3.9000",
      "date": "2026-05-12T08:46:13.000Z",
      "distro": "noble",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "b7b4f826dfd15b00d4c8f8ee304bc8ca0ab7e0c24f05f67c8ad708eeb6895c3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/25723320970"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3.9000",
      "date": "2026-05-12T08:46:02.000Z",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "632156f68ac61137f72082985edcf47d1d75a59a12f2a61565ef1b774b8439cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/25723320970"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3.9000",
      "date": "2026-05-12T08:46:12.000Z",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "38dfbfb81f7e56607229e9473389c5eae47b2c0d538f86332b84139e1cba1dca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/25723320970"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3.9000",
      "date": "2026-05-12T08:45:16.000Z",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "e66389f7987ef8beecb6d72c15d28ebb0818cbc0dafb76a79917aeca9dc2450b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/25723320970"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3.9000",
      "date": "2026-05-12T08:45:18.000Z",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "6af4fe64b7632c75211d0eff9d44c7278b8c611b45fa545a26f94188caf4ee45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/25723320970"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.3.9000",
      "date": "2026-05-12T08:45:19.000Z",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "ae9d3a9aba6d52ace6df764b113ae1e7f6dbdb4443225facae0b4f98dc89796a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/25723320970"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3.9000",
      "date": "2026-05-22T10:39:26.000Z",
      "commit": "98127b2f57cd870926590283670b02c8c5263de6",
      "fileid": "8f0d8ff79b253981f854728a8ea3cb0cfa218a84281863c1eee22ebee662d350",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trangdata/actions/runs/25723320970"
    }
  ]
}