forked from facebookresearch/PoincareMaps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoldict.py
228 lines (201 loc) · 8.49 KB
/
coldict.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
color_dict_paul = {'12Baso': '#0570b0', '13Baso': '#034e7b',
'11DC': '#ffff33',
'18Eos': '#2CA02C',
'1Ery': '#fed976', '2Ery': '#feb24c', '3Ery': '#fd8d3c', '4Ery': '#fc4e2a', '5Ery': '#e31a1c', '6Ery': '#b10026',
'9GMP': '#999999', '10GMP': '#4d4d4d',
'19Lymph': '#35978f',
'7MEP': '#E377C2',
'8Mk': '#BCBD22',
'14Mo': '#4eb3d3', '15Mo': '#7bccc4',
'16Neu': '#6a51a3','17Neu': '#3f007d',
'root': '#000000'}
color_dict_olsson = {'Eryth': '#1F77B4',
'Gran': '#FF7F0E',
'HSPC-1': '#2CA02C',
'HSPC-2': '#D62728',
'MDP': '#9467BD',
'Meg': '#8C564B',
'Mono': '#E377C2',
'Multi-Lin': '#BCBD22',
'Myelocyte': '#17BECF'}
color_dict_celegans = {'ABarpaaa_lineage': '#91003f', # embryonic lineage
'Germline': '#7f2704',
# Somatic gonad precursor cell
'Z1_Z4': '#800026',
# Two embryonic hypodermal cells that may provide a scaffold for the early organization of ventral bodywall muscles
'XXX': '#fb8072',
'Ciliated_amphid_neuron': '#c51b8a','Ciliated_non_amphid_neuron': '#fa9fb5',
# immune
'Coelomocyte': '#ffff33', 'T': '#54278f',
# Exceratory
'Excretory_cell': '#004529',
'Excretory_cell_parent': '#006837',
'Excretory_duct_and_pore': '#238443',
'Parent_of_exc_duct_pore_DB_1_3': '#41ab5d',
'Excretory_gland': '#78c679',
'Parent_of_exc_gland_AVK': '#addd8e',
'Rectal_cell': '#d9f0a3',
'Rectal_gland': '#f7fcb9',
'Intestine': '#7fcdbb',
# esophagus, crop, gizzard (usually) and intestine
'Pharyngeal_gland': '#fed976',
'Pharyngeal_intestinal_valve': '#feb24c',
'Pharyngeal_marginal_cell': '#fd8d3c',
'Pharyngeal_muscle': '#fc4e2a',
'Pharyngeal_neuron': '#e31a1c',
# hypodermis (epithelial)
'Parent_of_hyp1V_and_ant_arc_V': '#a8ddb5',
'hyp1V_and_ant_arc_V': '#ccebc5',
'Hypodermis': '#253494',
'Seam_cell': '#225ea8',
'Arcade_cell': '#1d91c0',
# set of six cells that form a thin cylindrical sheet between pharynx and ring neuropile
'GLR': '#1f78b4',
# Glia, also called glial cells or neuroglia, are non-neuronal cells in the central nervous system
'Glia': '#377eb8',
# head mesodermal cell: the middle layer of cells or tissues of an embryo
'Body_wall_muscle': '#9e9ac8',
'hmc': '#54278f',
'hmc_and_homolog': '#02818a',
'hmc_homolog': '#bcbddc',
'Intestinal_and_rectal_muscle': '#41b6c4',
# Postembryonic mesoblast: the mesoderm of an embryo in its earliest stages.
'M_cell': '#3f007d',
# pharyngeal gland cel
'G2_and_W_blasts': '#abdda4',
'unannotated': '#969696'}
color_dict_planaria = {'neoblast 1': '#CCCCCC',
'neoblast 2': '#7f7f7f',
'neoblast 3': '#E6E6E6',
'neoblast 4': '#D6D6D6',
'neoblast 5': '#C7C7C7',
'neoblast 6': '#B8B8B8',
'neoblast 7': '#A8A8A8',
'neoblast 8': '#999999',
'neoblast 9': '#8A8A8A',
'neoblast 10': '#7A7A7A',
'neoblast 11': '#6B6B6B',
'neoblast 12': '#5C5C5C',
'neoblast 13': '#4D4D4D',
'epidermis DVb neoblast': 'lightsteelblue',
'pharynx cell type progenitors': 'slategray',
'spp-11+ neurons': '#CC4C02',
'npp-18+ neurons': '#EC7014',
'otf+ cells 1': '#993404',
'ChAT neurons 1': '#FEC44F',
'neural progenitors': '#FFF7BC',
'otf+ cells 2': '#662506',
'cav-1+ neurons': '#eec900',
'GABA neurons': '#FEE391',
'ChAT neurons 2': '#FE9929',
'muscle body': 'firebrick',
'muscle pharynx': '#CD5C5C',
'muscle progenitors': '#FF6347',
'secretory 1': 'mediumpurple',
'secretory 3': 'purple',
'secretory 4': '#CBC9E2',
'secretory 2': '#551a8b',
'early epidermal progenitors': '#9ECAE1',
'epidermal neoblasts': '#C6DBEF',
'activated early epidermal progenitors': 'lightblue',
'late epidermal progenitors 2': '#4292C6',
'late epidermal progenitors 1': '#6BAED6',
'epidermis DVb': 'dodgerblue',
'epidermis': '#2171B5',
'pharynx cell type': 'royalblue',
'protonephridia': 'pink',
'ldlrr-1+ parenchymal cells': '#d02090',
'phagocytes': 'forestgreen',
'aqp+ parenchymal cells': '#cd96cd',
'pigment': '#cd6889',
'pgrn+ parenchymal cells': 'mediumorchid',
'psap+ parenchymal cells': 'deeppink',
'glia': '#cd69c9',
'goblet cells': 'yellow',
'parenchymal progenitors': 'hotpink',
'psd+ cells': 'darkolivegreen',
'gut progenitors': 'limegreen',
'branchNe': '#4292c6', 'neutrophil': '#08306b',
'branchMo': '#9e9ac8', 'monocyte': '#54278f',
'branchEr': '#fc9272', 'erythrocyt': '#cb181d',
'megakaryoc': '#006d2c', 'branchMe': '#74c476',
'proghead': '#525252', 'root': '#000000',
'interpolation': '#525252',
'Eryth': '#1F77B4',
'Gran': '#FF7F0E',
'HSPC-1': '#2CA02C',
'HSPC-2': '#D62728',
'MDP': '#9467BD',
'Meg': '#8C564B',
'Mono': '#E377C2',
'Multi-Lin': '#BCBD22',
'Myelocyte': '#17BECF',
'12Baso': '#0570b0', '13Baso': '#034e7b',
'11DC': '#ffff33',
'18Eos': '#2CA02C',
'1Ery': '#fed976', '2Ery': '#feb24c', '3Ery': '#fd8d3c', '4Ery': '#fc4e2a', '5Ery': '#e31a1c', '6Ery': '#b10026',
'9GMP': '#999999', '10GMP': '#4d4d4d',
'19Lymph': '#35978f',
'7MEP': '#E377C2',
'8Mk': '#BCBD22',
'14Mo': '#4eb3d3', '15Mo': '#7bccc4',
'16Neu': '#6a51a3','17Neu': '#3f007d',
'root': '#000000'}
# {'neoblast 1': '#CCCCCC',
# 'neoblast 2': '#7f7f7f',
# 'neoblast 3': '#E6E6E6',
# 'neoblast 4': '#D6D6D6',
# 'neoblast 5': '#C7C7C7',
# 'neoblast 6': '#B8B8B8',
# 'neoblast 7': '#A8A8A8',
# 'neoblast 8': '#999999',
# 'neoblast 9': '#8A8A8A',
# 'neoblast 10': '#7A7A7A',
# 'neoblast 11': '#6B6B6B',
# 'neoblast 12': '#5C5C5C',
# 'neoblast 13': '#4D4D4D',
# 'epidermis DVb neoblast': 'lightsteelblue',
# 'pharynx cell type progenitors': 'slategray',
# 'spp-11+ neurons': '#CC4C02',
# 'npp-18+ neurons': '#EC7014',
# 'otf+ cells 1': '#993404',
# 'ChAT neurons 1': '#FEC44F',
# 'neural progenitors': '#FFF7BC',
# 'otf+ cells 2': '#662506',
# 'cav-1+ neurons': '#eec900',
# 'GABA neurons': '#FEE391',
# 'ChAT neurons 2': '#FE9929',
# 'muscle body': 'firebrick',
# 'muscle pharynx': '#CD5C5C',
# 'muscle progenitors': '#FF6347',
# 'secretory 1': 'mediumpurple',
# 'secretory 3': 'purple',
# 'secretory 4': '#CBC9E2',
# 'secretory 2': '#551a8b',
# 'early epidermal progenitors': '#9ECAE1',
# 'epidermal neoblasts': '#C6DBEF',
# 'activated early epidermal progenitors': 'lightblue',
# 'late epidermal progenitors 2': '#4292C6',
# 'late epidermal progenitors 1': '#6BAED6',
# 'epidermis DVb': 'dodgerblue',
# 'epidermis': '#2171B5',
# 'pharynx cell type': 'royalblue',
# 'protonephridia': 'pink',
# 'ldlrr-1+ parenchymal cells': '#d02090',
# 'phagocytes': 'forestgreen',
# 'aqp+ parenchymal cells': '#cd96cd',
# 'pigment': '#cd6889',
# 'pgrn+ parenchymal cells': 'mediumorchid',
# 'psap+ parenchymal cells': 'deeppink',
# 'glia': '#cd69c9',
# 'goblet cells': 'yellow',
# 'parenchymal progenitors': 'hotpink',
# 'psd+ cells': 'darkolivegreen',
# 'gut progenitors': 'limegreen',
# 'interpolation': '#636363',
# 'interpolation2': '#999999'}