Spaces:
Sleeping
Sleeping
hlnicholls
commited on
fix: changing cluster colours
Browse files
app.py
CHANGED
@@ -254,7 +254,7 @@ elif tab == "Supervised SHAP Clustering":
|
|
254 |
fig = go.Figure()
|
255 |
|
256 |
# Define color mapping for clusters
|
257 |
-
cluster_colors = ['
|
258 |
|
259 |
# Plot clustered genes based on PCA components
|
260 |
for i, cluster in enumerate(df_for_plot['Cluster'].unique()):
|
@@ -286,7 +286,7 @@ elif tab == "Supervised SHAP Clustering":
|
|
286 |
mode='markers',
|
287 |
name='User Input Gene',
|
288 |
text=filtered_df['Gene'],
|
289 |
-
marker=dict(color='
|
290 |
hoverinfo="text+x+y",
|
291 |
))
|
292 |
|
|
|
254 |
fig = go.Figure()
|
255 |
|
256 |
# Define color mapping for clusters
|
257 |
+
cluster_colors = ['#ADD8E6', '#87CEEB', '#1E90FF']
|
258 |
|
259 |
# Plot clustered genes based on PCA components
|
260 |
for i, cluster in enumerate(df_for_plot['Cluster'].unique()):
|
|
|
286 |
mode='markers',
|
287 |
name='User Input Gene',
|
288 |
text=filtered_df['Gene'],
|
289 |
+
marker=dict(color='purple'),
|
290 |
hoverinfo="text+x+y",
|
291 |
))
|
292 |
|