An open API service indexing awesome lists of open source software.

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..

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.