Erva Ulusoy commited on
Commit
b42cc3c
·
1 Parent(s): 297cd76

updated labels of edge colors in legend

Browse files
Files changed (1) hide show
  1. visualize_kg.py +3 -4
visualize_kg.py CHANGED
@@ -419,21 +419,20 @@ def visualize_protein_subgraph(data, protein_id, prediction_df, limit=10):
419
  <div class="edges-grid">
420
  <div class="legend-item">
421
  <div class="edge-indicator" style="background-color: #8338ec;"></div>
422
- <span class="legend-label">Validated GO Prediction</span>
423
  </div>
424
  <div class="legend-item">
425
  <div class="edge-indicator" style="background-color: #c1121f;"></div>
426
- <span class="legend-label">Non-validated GO Prediction</span>
427
  </div>
428
  <div class="legend-item">
429
  <div class="edge-indicator" style="background-color: #219ebc;"></div>
430
- <span class="legend-label">Ground Truth GO Annotation</span>
431
  </div>
432
  <div class="legend-item">
433
  <div class="edge-indicator" style="background-color: #666666;"></div>
434
  <span class="legend-label">Other Relationships</span>
435
  </div>
436
- </div>
437
  </div>
438
  </div>
439
  """
 
419
  <div class="edges-grid">
420
  <div class="legend-item">
421
  <div class="edge-indicator" style="background-color: #8338ec;"></div>
422
+ <span class="legend-label">Confirmed Prediction (Found in Ground Truth)</span>
423
  </div>
424
  <div class="legend-item">
425
  <div class="edge-indicator" style="background-color: #c1121f;"></div>
426
+ <span class="legend-label">Novel Prediction (Not in Ground Truth)</span>
427
  </div>
428
  <div class="legend-item">
429
  <div class="edge-indicator" style="background-color: #219ebc;"></div>
430
+ <span class="legend-label">Existing GO Term Annotation</span>
431
  </div>
432
  <div class="legend-item">
433
  <div class="edge-indicator" style="background-color: #666666;"></div>
434
  <span class="legend-label">Other Relationships</span>
435
  </div>
 
436
  </div>
437
  </div>
438
  """