Package: WeightedTreemaps 0.1.3
WeightedTreemaps: Generate and Plot Voronoi or Sunburst Treemaps from Hierarchical Data
Treemaps are a visually appealing graphical representation of numerical data using a space-filling approach. A plane or 'map' is subdivided into smaller areas called cells. The cells in the map are scaled according to an underlying metric which allows to grasp the hierarchical organization and relative importance of many objects at once. This package contains two different implementations of treemaps, Voronoi treemaps and Sunburst treemaps. The Voronoi treemap function subdivides the plot area in polygonal cells according to the highest hierarchical level, then continues to subdivide those parental cells on the next lower hierarchical level, and so on. The Sunburst treemap is a computationally less demanding treemap that does not require iterative refinement, but simply generates circle sectors that are sized according to predefined weights. The Voronoi tesselation is based on functions from Paul Murrell (2012) <https://www.stat.auckland.ac.nz/~paul/Reports/VoronoiTreemap/voronoiTreeMap.html>.
Authors:
WeightedTreemaps_0.1.3.tar.gz
WeightedTreemaps_0.1.3.zip(r-4.5)WeightedTreemaps_0.1.3.zip(r-4.4)WeightedTreemaps_0.1.3.zip(r-4.3)
WeightedTreemaps_0.1.3.tgz(r-4.4-x86_64)WeightedTreemaps_0.1.3.tgz(r-4.4-arm64)WeightedTreemaps_0.1.3.tgz(r-4.3-x86_64)WeightedTreemaps_0.1.3.tgz(r-4.3-arm64)
WeightedTreemaps_0.1.3.tar.gz(r-4.5-noble)WeightedTreemaps_0.1.3.tar.gz(r-4.4-noble)
WeightedTreemaps_0.1.3.tgz(r-4.4-emscripten)WeightedTreemaps_0.1.3.tgz(r-4.3-emscripten)
WeightedTreemaps.pdf |WeightedTreemaps.html✨
WeightedTreemaps/json (API)
NEWS
# Install 'WeightedTreemaps' in R: |
install.packages('WeightedTreemaps', repos = c('https://m-jahn.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/m-jahn/weightedtreemaps/issues
- Jahn_CellReports_2018 - Data from the publication of Jahn et al., CellReports, 2018
- rounded_rect - Coordinates to draw a rounded rectangle as parent cell for treemaps
r-programmingrcppsunburst-treemapvoronoi-diagramvoronoi-treemap
Last updated 17 days agofrom:f7ba8e4ad3. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 05 2024 |
R-4.5-win-x86_64 | OK | Nov 05 2024 |
R-4.5-linux-x86_64 | OK | Nov 05 2024 |
R-4.4-win-x86_64 | OK | Nov 05 2024 |
R-4.4-mac-x86_64 | OK | Nov 05 2024 |
R-4.4-mac-aarch64 | OK | Nov 05 2024 |
R-4.3-win-x86_64 | OK | Nov 05 2024 |
R-4.3-mac-x86_64 | OK | Nov 05 2024 |
R-4.3-mac-aarch64 | OK | Nov 05 2024 |
Exports:cropped_voronoidrawTreemapget_polygonspoly_areapoly_centroidpoly_transform_shapesunburstTreemapvoronoiTreemap
Dependencies:BHclassclassIntclicolorspaceDBIdplyre1071fansifarvergenericsglueKernSmoothlabelinglatticelifecyclemagrittrMASSmunsellpillarpkgconfigproxyR6RColorBrewerRcppRcppCGALrlangs2scalessfsptibbletidyselectunitsutf8vctrsviridisLitewithrwk
Readme and manuals
Help Manual
Help page | Topics |
---|---|
as.data.frame.sunburstResult | as.data.frame.sunburstResult |
as.data.frame.voronoiResult | as.data.frame.voronoiResult |
cropped_voronoi | cropped_voronoi |
drawTreemap | drawTreemap |
get_polygons | get_polygons |
Data from the publication of Jahn et al., CellReports, 2018 | Jahn_CellReports_2018 |
poly_area | poly_area |
poly_centroid | poly_centroid |
poly_transform_shape | poly_transform_shape |
print.sunburstResult | print.sunburstResult |
print.voronoiResult | print.voronoiResult |
Coordinates to draw a rounded rectangle as parent cell for treemaps | rounded_rect |
summary.sunburstResult | summary.sunburstResult |
summary.voronoiResult | summary.voronoiResult |
sunburstTreemap | sunburstTreemap |
voronoiTreemap | voronoiTreemap |