A tidy tibble of body-outline and organ polygons for the human male
anatogram, parsed directly from the EBI Expression Atlas anatomogram SVG
source (see data-raw/build_data.R and dev/NOTES.md).
Format
A tibble with one row per polygon vertex:
- tissue_id
Ontology ID (e.g.
"UBERON_0000948"), or"outline"for the body silhouette.- tissue_name
Human-readable tissue name from the SVG's
<title>element, where present (NAfor a handful of cell-type-marker tissues – seedev/NOTES.md).- ontology
Ontology prefix (
"UBERON"or"CL"), orNAfor the outline.- element_index, subpath
Internal grouping keys – use
polygon_idinstead unless debugging the parser.- polygon_id, group
Identical, duplicated under two names: unique ID per disjoint polygon ring. Use directly as
groupwhen passing this data asggplot2::geom_map()'smapargument (seeexamples/geom_map_demo.R) –geom_map()requires a literalgroupcolumn, and without it, multi-blob organs (e.g. the two lungs) would incorrectly merge into one connect-the-dots shape.- id
Duplicate of
tissue_id, present becauseggplot2::geom_map()requires a literalidcolumn on itsmapargument.- x, y
Vertex coordinates, already oriented right-side-up for direct plotting – do not add
ggplot2::scale_y_reverse(). (The raw SVG source has y growing downward;yhere has already been flipped once, at package-data build time, rather than asking every plot to reverse it itself –scale_y_reverse()actively breaksggplot2::geom_map(), sincegeom_map()'s polygon coordinates never pass through the normal scale-training pipeline. Seedev/NOTES.md, Milestone 8.)- outline_role
For
tissue_id == "outline"rows only (NAotherwise):"silhouette"(the plain outer body shape),"contour_detail"(the same full-body shape but with interior cut-lines for fingers/toes/ears/joints), or"feature"(small facial marks – eyes, nostril, mouth). Classified from geometry at build time (bounding-box area, then point count), not from any tag in the SVG source – seedev/NOTES.md, Milestone 11.
Source
https://github.com/ebi-gene-expression-group/anatomogram
(images CC-BY-4.0, code Apache-2.0). See dev/NOTES.md for attribution
and parsing details.