https://github.com/intermine/cytoscape-graph-displayer
This application accepts cytoscape.js json markup and displays graphs..
https://github.com/intermine/cytoscape-graph-displayer
Last synced: 10 months ago
JSON representation
This application accepts cytoscape.js json markup and displays graphs..
- Host: GitHub
- URL: https://github.com/intermine/cytoscape-graph-displayer
- Owner: intermine
- License: mit
- Created: 2019-05-13T14:18:23.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-24T13:12:32.000Z (about 7 years ago)
- Last Synced: 2025-08-04T21:55:24.100Z (11 months ago)
- Language: Python
- Size: 170 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cytoscape-graph-displayer
This application accepts cytoscape.js json markup and displays graphs. Designed to help visualise files generated by @nupurgunwant
Demo at http://www.intermine.org/cytoscape-graph-displayer
## Python version
Python 3.2 and all the higher versions suggested
## Dependencies
No dependency needed
## Getting started
1. After cloning/downloading, open the directory
2. Open the graph_scripts folder
3. Run the python file according to your need
To make a graph to check the number of interMines(provided by user) each class covers:
```
import many_intm
many_intm.find_classes("flymine", "humanmine","mousemine","ratmine")
```
To make a graph to check if the classes of the given interMine are present in a given template or not:
```
import one_intm_one_temp
one_intm_one_temp.check_classes('flymine','Gene_RegionLocation')
```
To make a graph to check the number of templates(provided by user) each class covers in a given interMine:
```
import one_intm_many_temp as o
o.check_classes('flymine','Gene_RegionLocation','GOterm_GenesInsertions','AlleleClass_Allele')
```
To make a graph to check the number of data items in each class for a given interMine:
```
import one_intm_data as o
o.find_classes('flymine')
```
## Tech notes
All js/html/css assets in this folder can be served on a static server, such as apache or gh-pages. Cytoscape and jQuery are loaded via CDN, so no installation is required.
Entry points for a developer are the index.html file and script.js for interactive functionality.