Spaces:
Sleeping
Sleeping
Update dashboard.py
Browse files- dashboard.py +15 -4
dashboard.py
CHANGED
@@ -202,8 +202,8 @@ def chordify_triples(rel_grouping):
|
|
202 |
|
203 |
# https://tabler-icons.io/
|
204 |
button1 = pn.widgets.Button(name="Introduction", button_type="warning", icon="file-info", styles={"width": "100%"})
|
205 |
-
button2 = pn.widgets.Button(name="
|
206 |
-
button3 = pn.widgets.Button(name="
|
207 |
button4 = pn.widgets.Button(name="Ontology Coverage", button_type="warning", icon="chart-dots-filled", styles={"width": "100%"})
|
208 |
button5 = pn.widgets.Button(name="Causal Relation Chord Diagrams", button_type="warning", icon="chart-dots-filled", styles={"width": "100%"})
|
209 |
# Define child buttons
|
@@ -264,16 +264,27 @@ The causal relations represented in the KG are defined by the **MIMICause** sche
|
|
264 |
|
265 |
---------------------------
|
266 |
|
|
|
|
|
|
|
|
|
|
|
267 |
## Entities/Relation Types
|
268 |
Bar plots of the Entity and Relation type counts.
|
269 |
|
270 |
-
|
271 |
-
|
|
|
|
|
|
|
|
|
272 |
|
273 |
## Causal Relations Chord Diagrams
|
274 |
Entity Chord Diagrams represent the most frequently connected entity pairs within the KG through chord illustrations, serving as both Subjects and Objects of predicative triples. The size of the chords corresponds to the support of the depicted relations.
|
275 |
""", width=800), align="center")
|
276 |
|
|
|
|
|
277 |
def CreatePage2():
|
278 |
return pn.Column(
|
279 |
pn.pane.Markdown("## Top 30 Entities "),
|
|
|
202 |
|
203 |
# https://tabler-icons.io/
|
204 |
button1 = pn.widgets.Button(name="Introduction", button_type="warning", icon="file-info", styles={"width": "100%"})
|
205 |
+
button2 = pn.widgets.Button(name="Top Key Entities", button_type="warning", icon="chart-bar", styles={"width": "100%"})
|
206 |
+
button3 = pn.widgets.Button(name="Entity/Relation Types:", button_type="warning", icon="chart-histogram", styles={"width": "100%"})
|
207 |
button4 = pn.widgets.Button(name="Ontology Coverage", button_type="warning", icon="chart-dots-filled", styles={"width": "100%"})
|
208 |
button5 = pn.widgets.Button(name="Causal Relation Chord Diagrams", button_type="warning", icon="chart-dots-filled", styles={"width": "100%"})
|
209 |
# Define child buttons
|
|
|
264 |
|
265 |
---------------------------
|
266 |
|
267 |
+
## Top Key Entities
|
268 |
+
Bar plots representing the occurence counts of the top 30 Drug and Condition entities in the KG, where occurrence means the entity is either the Subject or Object of an extracted triple in the KG.
|
269 |
+
Clicking on the entity name in the right legend redirects to the corresponding entry in the Virtuoso Faceted Browser endpoint of the KG
|
270 |
+
|
271 |
+
|
272 |
## Entities/Relation Types
|
273 |
Bar plots of the Entity and Relation type counts.
|
274 |
|
275 |
+
|
276 |
+
## Ontology Coverage
|
277 |
+
Bar plots representing the linking of KG entities to standard Biomedical ontologies. Bar heights indicate the number of Drug/Condition entities linked to the corresponding ontology.
|
278 |
+
Linking is performed using the Bioportal API (https://bioportal.bioontology.org/)
|
279 |
+
Clicking on the ontology name on the right legend redirects to the ontology entry page.
|
280 |
+
|
281 |
|
282 |
## Causal Relations Chord Diagrams
|
283 |
Entity Chord Diagrams represent the most frequently connected entity pairs within the KG through chord illustrations, serving as both Subjects and Objects of predicative triples. The size of the chords corresponds to the support of the depicted relations.
|
284 |
""", width=800), align="center")
|
285 |
|
286 |
+
|
287 |
+
|
288 |
def CreatePage2():
|
289 |
return pn.Column(
|
290 |
pn.pane.Markdown("## Top 30 Entities "),
|