Skip to content

Commit

Permalink
Build some cool new datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
bherr2 committed Feb 29, 2024
1 parent a8cc903 commit a49b984
Show file tree
Hide file tree
Showing 6 changed files with 3,050 additions and 426 deletions.
2,380 changes: 2,359 additions & 21 deletions docs/datasets.json

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions docs/sample-data/datasets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[
{
"label": "Region_D265-12",
"nodes":"./Region_D265-12.csv",
"edges":"./Region_D265-12.edges.csv",
"color-map":"./Region_D265-12.color_mapping.csv",
"color-map-key":"cell_type",
"color-map-value":"cell_color",
"node-target-key":"Cell Type",
"node-target-value":"Endothelial",
"max-edge-distance":"1000"
},
{
"label": "Region_D265-11",
"nodes":"./Region_D265-11.csv",
"edges":"./Region_D265-11.edges.csv",
"color-map":"./Region_D265-11.color_mapping.csv",
"color-map-key":"cell_type",
"color-map-value":"cell_color",
"node-target-key":"type",
"node-target-value":"Lymphatic Endothelial Cell (and some immune cells)",
"max-edge-distance":"1000"
}
]
31 changes: 31 additions & 0 deletions docs/sample-data/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Test hra-node-dist-vis Web Component</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="../hra-node-dist-vis.wc.js"></script>
<script src="../demo.js"></script>

<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet" />
<script src="https://apps.humanatlas.io/components/hra-app-shell.wc.js"></script>
</head>

<body>
<hra-app-shell logo-text="HRA Cell Type Distance Visualizations" logo-text-small="HRA Dist Vis"
logo-url="https://lod.humanatlas.io/" hide-menu>
<div class="main">
<div class="card-container">
<div class="card">
<h3>Select a dataset</h3>
<md-filled-select id="dataset-input">
</md-filled-select>
</div>
</div>
<div style="height: 90vh;background-color: #333;">
<hra-node-dist-vis id="vis"></hra-node-dist-vis>
</div>
</div>
</body>
</html>
Loading

0 comments on commit a49b984

Please sign in to comment.