Skip to content

Commit

Permalink
Add custom subclade colors for NA
Browse files Browse the repository at this point in the history
Uses new script for creating custom color scales to add colors for each
subtype's NA subclades. Only includes subclades for tips that have
circulated since January 2023, so all other subclades appear as shades
of gray.
  • Loading branch information
huddlej committed Sep 19, 2023
1 parent 0c81c8a commit 6051063
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 3 deletions.
48 changes: 47 additions & 1 deletion profiles/nextflu-private/h1n1pdm/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,53 @@
{
"key": "subclade",
"title": "Subclade",
"type": "categorical"
"type": "categorical",
"scale": [
[
"B.3.1.1",
"#3F47C9"
],
[
"B.3.1.2",
"#4274CE"
],
[
"C",
"#4F97BB"
],
[
"C.2",
"#64AC99"
],
[
"C.3",
"#7EB976"
],
[
"C.4",
"#9EBE5A"
],
[
"C.5",
"#BEBB48"
],
[
"C.5.1",
"#D9AE3E"
],
[
"C.5.1.1",
"#E69036"
],
[
"C.5.2",
"#E35F2D"
],
[
"C.5.3",
"#DB2823"
]
]
},
{
"key": "lbi",
Expand Down
32 changes: 31 additions & 1 deletion profiles/nextflu-private/h3n2/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,37 @@
{
"key": "subclade",
"title": "Subclade",
"type": "categorical"
"type": "categorical",
"scale": [
[
"A.2.2.2",
"#4272CE"
],
[
"B",
"#58A2AC"
],
[
"B.1.1",
"#7DB877"
],
[
"B.2",
"#AEBD50"
],
[
"B.2.2",
"#D8AE3E"
],
[
"B.3",
"#E67A32"
],
[
"B.4",
"#DB2823"
]
]
},
{
"key": "lbi",
Expand Down
48 changes: 47 additions & 1 deletion profiles/nextflu-private/vic/na/auspice_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,53 @@
{
"key": "subclade",
"title": "Subclade",
"type": "categorical"
"type": "categorical",
"scale": [
[
"A",
"#3F47C9"
],
[
"A.1.1.1",
"#4274CE"
],
[
"A.1.1.3",
"#4F97BB"
],
[
"A.1.2",
"#64AC99"
],
[
"B",
"#7EB976"
],
[
"B.1",
"#9EBE5A"
],
[
"B.3",
"#BEBB48"
],
[
"B.4",
"#D9AE3E"
],
[
"B.5",
"#E69036"
],
[
"B.6",
"#E35F2D"
],
[
"B.7",
"#DB2823"
]
]
},
{
"key": "lbi",
Expand Down

0 comments on commit 6051063

Please sign in to comment.