AlexsLemonade / OpenPBTA-analysis

The analysis repository for the Open Pediatric Brain Tumor Atlas Project
Other
100 stars 67 forks source link

Update figures/ to reflect new minimal "display group" palettes #1176

Closed jaclyn-taroni closed 2 years ago

jaclyn-taroni commented 3 years ago

Context

Related to #1174

Right now, figures/mapping-histology-labels.Rmd creates a display_group and cancer_group palette by randomly assigning colors from large sets of hex codes. display_group, which is based on broad_histology, is broader than cancer_group and all tumors from a cancer_group will map to a single broad_histology https://github.com/AlexsLemonade/OpenPBTA-analysis/issues/1174#issuecomment-915372913.

Because it will be difficult to create palettes to accommodate all the cancer_group labels, we have decided to:

Next steps

Here are the steps that I am aware of right now:

I am planning to complete these steps myself.

Palettes

From https://github.com/AlexsLemonade/OpenPBTA-analysis/issues/1174#issuecomment-916282123

broad_histology HSV value hex code
Benign tumor hsv(336°,100%,35%) #590024
Diffuse astrocytic and oligodendroglial tumor hsv(312°,50%,100%) #ff80e5
Embryonal tumor hsv(272°,100%,25%) #220040
Ependymal tumor hsv(248°,100%,100%) #2200ff
Germ cell tumor hsv(208°,100%,85%) #0074d9
Low-grade astrocytic tumor hsv(240°,25%,75%) #8f8fbf
Meningioma hsv(168°,75%,70%) #2db398
Mesenchymal non-meningothelial tumor hsv(80°,100%,75%) #7fbf00
Neuronal and mixed neuronal-glial tumor hsv(48°, 66%, 25%) #685815
Tumor of cranial and paraspinal nerves hsv(40°,100%,100%) #ffaa00
Tumors of sellar region hsv(16°,75%,70%) #b2502d
broad_histology cancer_group HSV value hex code
Benign tumor Choroid plexus papilloma hsv(337°, 49%, 35%) #592d3e
Diffuse astrocytic and oligodendroglial tumor Diffuse intrinsic pontine glioma hsv(312°, 20%, 100%) #ffccf5
Diffuse astrocytic and oligodendroglial tumor Diffuse midline glioma hsv(312°, 75%, 100%) #ff40d9
Diffuse astrocytic and oligodendroglial tumor High-grade glioma astrocytoma hsv(312°, 100%, 75%) #bf0099
Embryonal tumor Atypical Teratoid Rhabdoid Tumor hsv(272°, 90%, 52%) #4d0d85
Embryonal tumor CNS Embryonal tumor hsv(272°, 67%, 68%) #7739ad
Embryonal tumor Medulloblastoma hsv(271°, 96%, 57%) #9426fb
Ependymal tumor Ependymoma hsv(248°,100%,100%) #2200ff
Germ cell tumor Teratoma hsv(208°, 98%, 100%) #058aff
Low-grade astrocytic tumor Ganglioglioma hsv(240°, 45%, 100%) #8c8cff
Low-grade astrocytic tumor Low-grade glioma astrocytoma hsv(240°, 100%, 50%) #000080
Meningioma Meningioma hsv(168°,75%,70%) #2db398
Mesenchymal non-meningothelial tumor Ewing sarcoma HSV(80°, 50%, 75%) #9fbf60
Neuronal and mixed neuronal-glial tumor Dysembryoplastic neuroepithelial tumor hsv(48°, 99%, 38%) #614e01
Tumor of cranial and paraspinal nerves Neurofibroma Plexiform hsv(40°, 75%, 90%) #e6ac39
Tumor of cranial and paraspinal nerves Schwannoma hsv(40°, 100%, 67%) #ab7200
Tumors of sellar region Craniopharyngioma hsv(16°, 100%, 70%) #b33000
sjspielman commented 2 years ago

This is all set.