Skip to content

Commit af75a4c

Browse files
committed
updated usage with new configuration
1 parent b89396d commit af75a4c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

hicbrowser/client/README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,36 @@ This project aims to visualize gene expression profiles in the context of mitoch
1111
3. Compile the project
1212
`grunt dist`
1313

14+
## Usage
15+
16+
```
17+
<html>
18+
<head>
19+
20+
<!-- 1. Import the app styles CSS -->
21+
<link href='css/App.css' rel='stylesheet' type='text/css'>
22+
23+
</head>
24+
25+
<body></body>
26+
27+
<!-- 2. Import javascript -->
28+
<script src="js/App.min.js"></script>
29+
30+
<script>
31+
// 3. Initialize application!
32+
App.init({
33+
browser_example: 'X:3800000-4340000',
34+
gene_example: 'mof',
35+
icon: '/static/img/fly.svg'
36+
});
37+
38+
// Alternatively use the default configuration:
39+
// App.init();
40+
</script>
41+
</html>
42+
```
43+
1444
## Built With
1545

1646
* [NPM](https://www.npmjs.com/) - Dependency Management

0 commit comments

Comments
 (0)