All Projects → trang1618 → Treeheatr

trang1618 / Treeheatr

Licence: other
Heatmap-integrated Decision Tree Visualizations

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Treeheatr

leaflet heatmap
简单的可视化湖州通话数据 假设数据量很大,没法用浏览器直接绘制热力图,把绘制热力图这一步骤放到线下计算分析。使用Apache Spark并行计算数据之后,再使用Apache Spark绘制热力图,然后用leafletjs加载OpenStreetMap图层和热力图图层,以达到良好的交互效果。现在使用Apache Spark实现绘制,可能是Apache Spark不擅长这方面的计算或者是我没有设计好算法,并行计算的速度比不上单机计算。Apache Spark绘制热力图和计算代码在这 https://github.com/yuanzhaokang/ParallelizeHeatmap.git .
Stars: ✭ 13 (-69.05%)
Mutual labels:  dataviz, heatmap
hotmap
WebGL Heatmap Viewer for Big Data and Bioinformatics
Stars: ✭ 13 (-69.05%)
Mutual labels:  dataviz, heatmap
Reaviz
📊 Data visualization library for React based on D3
Stars: ✭ 1,141 (+2616.67%)
Mutual labels:  dataviz, heatmap
Heatmap.js
🔥 JavaScript Library for HTML5 canvas based heatmaps
Stars: ✭ 5,685 (+13435.71%)
Mutual labels:  dataviz, heatmap
Aisvms vis
AIS visualization from an interactive R and Shiny based web app using Material Design from Google.
Stars: ✭ 8 (-80.95%)
Mutual labels:  heatmap
Pyheatmagic
IPython magic command to profile and view your python code as a heat map.
Stars: ✭ 728 (+1633.33%)
Mutual labels:  heatmap
Location History Visualizer
Visualize your Google Location History using an interactive heatmap
Stars: ✭ 700 (+1566.67%)
Mutual labels:  heatmap
Asteroids atlas of space
Code, data, and instructions for mapping orbits of asteroids in the solar system
Stars: ✭ 668 (+1490.48%)
Mutual labels:  dataviz
Celery Dashboard
A dashboard to monitor your celery app
Stars: ✭ 40 (-4.76%)
Mutual labels:  dataviz
Jquery Mapael
jQuery plugin based on raphael.js that allows you to display dynamic vector maps
Stars: ✭ 981 (+2235.71%)
Mutual labels:  dataviz
Esmpy Tutorial
Basic tutorial for ESMPy Python package
Stars: ✭ 22 (-47.62%)
Mutual labels:  dataviz
Mplcyberpunk
"Cyberpunk style" for matplotlib plots
Stars: ✭ 762 (+1714.29%)
Mutual labels:  dataviz
Treedu
Graphical Disk Usage command for the terminal, using Node.js, d3.js, blessed, and Drawille
Stars: ✭ 10 (-76.19%)
Mutual labels:  dataviz
Explorer
Data Explorer by Keen - point-and-click interface for analyzing and visualizing event data.
Stars: ✭ 725 (+1626.19%)
Mutual labels:  dataviz
D3 In Motion
Code examples and references for the course "D3.js in Motion"
Stars: ✭ 37 (-11.9%)
Mutual labels:  dataviz
Leaflet Dvf
Leaflet Data Visualization Framework
Stars: ✭ 678 (+1514.29%)
Mutual labels:  dataviz
Amcharts4
The most advanced amCharts charting library for JavaScript and TypeScript apps.
Stars: ✭ 907 (+2059.52%)
Mutual labels:  dataviz
The Deep Learning With Keras Workshop
An Interactive Approach to Understanding Deep Learning with Keras
Stars: ✭ 34 (-19.05%)
Mutual labels:  decision-trees
Github Spray
Draw on your GitHub contribution graph ░▒▓█
Stars: ✭ 908 (+2061.9%)
Mutual labels:  heatmap
Grad Cam
[ICCV 2017] Torch code for Grad-CAM
Stars: ✭ 891 (+2021.43%)
Mutual labels:  heatmap

treeheatr: an introduction

vignette documentation github-action-status

Your decision tree may be cool, but what if I tell you you can make it hot?

Changes in treeheatr 0.2.0

The first argument of heat_tree(), data is now replaced with x, which can be a dataframe (or tibble), a party (or constparty) object specifying the precomputed tree, or partynode object specifying the customized tree. custom_tree argument is no longer needed.

Install

Please make sure your version of R >= 3.5.0 before installation.

You can install the released version of treeheatr from CRAN with:

install.packages('treeheatr')

Or the development version from GitHub with remotes:

# install.packages('remotes') # uncomment to install devtools
remotes::install_github('trang1618/treeheatr')

Examples

Penguin dataset

Classification of different types of penguin species.

library(treeheatr)

heat_tree(penguins, target_lab = 'species')

Wine recognition dataset

Classification of different cultivars of wine.

heat_tree(wine, target_lab = 'Type', target_lab_disp = 'Cultivar')

Citing treeheatr

If you use treeheatr in a scientific publication, please consider citing the following paper:

Le TT, Moore JH. treeheatr: an R package for interpretable decision tree visualizations. Bioinformatics. 2020 Jan 1.

BibTeX entry:

@article{le2020treeheatr,
  title={treeheatr: an R package for interpretable decision tree visualizations},
  author={Le, Trang T and Moore, Jason H},
  journal={Bioinformatics},
  year={2020},
  doi="10.1093/bioinformatics/btaa662"
}

How to Use

treeheatr incorporates a heatmap at the terminal node of your decision tree. The basic building blocks to a treeheatr plot are (yes, you guessed it!) a decision tree and a heatmap.

  • The decision tree is computed with partykit::ctree() and plotted with the well-documented and flexible ggparty package. The tree parameters can be passed to ggparty functions via the heat_tree() and draw_tree() functions of treeheatr. More details on different ggparty geoms can be found here.

  • The heatmap is shown with ggplot2::geom_tile(). The user may choose to cluster the samples within each leaf node or the features across all samples.

Make sure to check out the vignette for detailed information on the usage of treeheatr.

Please open an issue for questions related to treeheatr usage, bug reports or general inquiries.

Thank you very much for your support!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].