From 14638211c7865c5125b070a95f140c238580cecd Mon Sep 17 00:00:00 2001 From: Jennifer Chang Date: Wed, 13 Nov 2024 14:03:30 -0800 Subject: [PATCH] Phylogenetic: add host genus and type coloring to trees --- phylogenetic/defaults/auspice_config.json | 6 +++++- phylogenetic/defaults/auspice_config_global.json | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/phylogenetic/defaults/auspice_config.json b/phylogenetic/defaults/auspice_config.json index 44da9c1..a352ec5 100644 --- a/phylogenetic/defaults/auspice_config.json +++ b/phylogenetic/defaults/auspice_config.json @@ -10,7 +10,9 @@ {"key": "lineage", "title": "Pathoplexus lineage", "type": "categorical"}, {"key": "clade_membership", "title": "Clade", "type": "categorical"}, {"key": "author", "title": "Authors", "type": "categorical"}, - {"key": "host", "title": "Host Species", "type": "categorical"} + {"key": "host", "title": "Host Species", "type": "categorical"}, + {"key": "host_genus", "title": "Host Genus", "type": "categorical"}, + {"key": "host_type", "title": "Host Type", "type": "categorical"} ], "geo_resolutions": [ "state", @@ -29,6 +31,8 @@ "author", "clade_membership", "host", + "host_genus", + "host_type", "lineage" ], "display_defaults": { diff --git a/phylogenetic/defaults/auspice_config_global.json b/phylogenetic/defaults/auspice_config_global.json index 37ce140..26ab194 100644 --- a/phylogenetic/defaults/auspice_config_global.json +++ b/phylogenetic/defaults/auspice_config_global.json @@ -8,7 +8,9 @@ {"key": "lineage", "title": "Pathoplexus lineage", "type": "categorical"}, {"key": "clade_membership", "title": "Clade", "type": "categorical"}, {"key": "author", "title": "Authors", "type": "categorical"}, - {"key": "host", "title": "Host Species", "type": "categorical"} + {"key": "host", "title": "Host Species", "type": "categorical"}, + {"key": "host_genus", "title": "Host Genus", "type": "categorical"}, + {"key": "host_type", "title": "Host Type", "type": "categorical"} ], "geo_resolutions": [ "region", @@ -23,7 +25,9 @@ "region", "country", "author", - "host" + "host", + "host_genus", + "host_type" ], "display_defaults": { "color_by": "region",