Skip to content

Commit

Permalink
Fixed Time Series Analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerAK committed Sep 5, 2024
1 parent 4059f58 commit 9f624f8
Show file tree
Hide file tree
Showing 5 changed files with 164 additions and 149 deletions.
61 changes: 41 additions & 20 deletions protzilla/constants/colors.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,44 @@
PROTZILLA_DISCRETE_COLOR_SEQUENCE = [
#Muted Dark Slate
"#252935",
"#4A536A",
'#a4a9b4',
# Muted Indian Red
"#CE5A5A",
"#B04A4A",
"#EBBDBD",
# Muted Light Steel Blue
"#51646f",
"#87A8B9",
"#B7CAD5",
# Muted Sienna
"#804538",
"#8E3325",
"#471912",
#Muted Sandy Brown
"#715236",
"#E2A46D",
"F0D1B6",
# Set 1: Muted Dark Slate
"#252935", "#3A3F50", "#50556A", "#6B7186", "#858DA2",
# Set 2: Muted Indian Red
"#CE5A5A", "#B24C4C", "#9D3F3F", "#E07272", "#F48D8D",
# Set 3: Muted Light Steel Blue
"#51646F", "#6A7D89", "#7F92A0", "#96A9B8", "#ADBFCD",
# Set 4: Muted Sienna
"#804538", "#6F3C31", "#5F342A", "#A05748", "#B66E5E",
# Set 5: Muted Sandy Brown
"#715236", "#63472F", "#57402B", "#96755A", "#A98575",
# Set 6: Muted Olive
"#6E6B48", "#5D5B3E", "#4E4D36", "#89875C", "#A1A16E",
# Set 7: Muted Teal
"#3B6B6A", "#315B5B", "#274C4C", "#507E7E", "#6B9898",
# Set 8: Muted Taupe
"#8B7E74", "#776F65", "#675E56", "#A09085", "#B9AAA1",
# Set 9: Muted Burgundy
"#7B3A4F", "#6A3345", "#582C3C", "#925664", "#A8737E",
# Set 10: Muted Forest Green
"#3D5047", "#35453E", "#2D3B35", "#5F7267", "#7B8D80",
# Set 11: Muted Navy
"#2F3E4C", "#283442", "#222B38", "#485669", "#627185",
# Set 12: Muted Mustard
"#BFA054", "#A98F4A", "#927D3F", "#D7BA75", "#E2CD96",
# Set 13: Muted Dusty Rose
"#C18394", "#AA727E", "#93616C", "#D69BA7", "#E4B8C2",
# Set 14: Muted Lavender
"#8A729D", "#7A638C", "#6A547C", "#A591B3", "#BDA9C8",
# Set 15: Muted Charcoal
"#404040", "#353535", "#2B2B2B", "#585858", "#707070",
# Set 16: Muted Emerald Green
"#4D7456", "#426448", "#37563B", "#6A9177", "#85A990",
# Set 17: Muted Peach
"#D89B83", "#C2866F", "#A7725E", "#E3B39C", "#ECC7B6",
# Set 18: Muted Plum
"#704F6E", "#634464", "#563A59", "#876A87", "#A18AA1",
# Set 19: Muted Periwinkle
"#7E8DAF", "#6F7B98", "#616A82", "#97A3BF", "#B0B9D1",
# Set 20: Muted Coral
"#CC7A5E", "#B26951", "#9A5A45", "#DD937C", "#EBAA99"
]

PROTZILLA_DISCRETE_COLOR_OUTLIER_SEQUENCE = ["#4A536A", "#CE5A5A"]
2 changes: 1 addition & 1 deletion protzilla/data_analysis/time_series_plot_peptide.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def time_series_plot_peptide(
) -> dict:
"""
A function to create a graph visualising protein quantifications across all samples
as a line diagram using retention time. It's possible to select one proteingroup
as a line diagram using time. It's possible to select one proteingroup
that will be displayed in orange and choose a similarity measurement with a similarity score
to get all proteingroups that are similar displayed in another color in this line diagram.
All other proteingroups are displayed in the background as a grey polygon.
Expand Down
Loading

0 comments on commit 9f624f8

Please sign in to comment.