Skip to content

Commit f9cce83

Browse files
Merge pull request #176 from sccn/new_plot
Add treemap visualization and improve dataset summary features
2 parents 85ca277 + 0ac111e commit f9cce83

File tree

19 files changed

+1043
-12
lines changed

19 files changed

+1043
-12
lines changed

β€Ždocs/plot_dataset/__init__.pyβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
)
1212
from .plot_sankey import generate_dataset_sankey # noqa: F401
1313
from .ridgeline import generate_modality_ridgeline # noqa: F401
14+
from .treemap import generate_dataset_treemap # noqa: F401

β€Ždocs/plot_dataset/colours.pyβ€Ž

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,34 @@
2121
"Unknown": "#94a3b8",
2222
}
2323

24+
MODALITY_EMOJI = {
25+
"Visual": "πŸ‘οΈ",
26+
"Auditory": "πŸ‘‚",
27+
"Sleep": "πŸŒ™",
28+
"Multisensory": "🧩",
29+
"Tactile": "βœ‹",
30+
"Motor": "πŸƒ",
31+
"Resting State": "🧘",
32+
"Rest": "🧘",
33+
"Other": "🧭",
34+
"Unknown": "❔",
35+
}
36+
37+
PATHOLOGY_PASTEL_OVERRIDES = {
38+
"Healthy": "#bbf7d0",
39+
"Unknown": "#d0d7df",
40+
"Dementia": "#fcd4d4",
41+
"Schizophrenia": "#f9d0e7",
42+
"Psychosis": "#f9d0e7",
43+
"Epilepsy": "#f9d7c4",
44+
"Parkinson's": "#f8c8c8",
45+
"TBI": "#f9cabd",
46+
"Surgery": "#f7d9b8",
47+
"Other": "#f8cbdc",
48+
"Clinical": "#f8d0d0",
49+
}
50+
51+
2452
TYPE_COLOR_MAP = {
2553
"Perception": "#3b82f6",
2654
"Decision-making": "#eab308",

0 commit comments

Comments
Β (0)