cyREST Examples for Python Users
I assume you are a Python programmer. You should know how to use pip, IPython Notebook, etc. Also, these examples a lot of 3rd party libraries to demonstrate realistic data analysis and visualization workflows. This means you have to install all of your dependencies manually.
How to Use Example Notebooks
- Make sure your machine already has Python and related libraries, such as ipython, numpy, scipy, pandas, etc.
- Start Cytoscape (cyREST should be installed!)
- Clone the repository:
git clone https://github.com/idekerlab/cy-rest-python
- Change directory:
- Start IPython Notebook:
- Select index.ipynb to start the example
Using Docker Instead
If you don't want to install everything by yourself, you can use our Docker container instead.
Building Container in this directory
docker build -t idekerlab/cyrest-demo:1.0 .
docker run -d -p 80:8888 -v $PWD:/notebooks -e "PASSWORD=cyrest" -e "USE_HTTP=1" idekerlab/cyrest-demo:1.0
and open the notebook with your web browser. Make sure youy are using correct IP address!
View Examples in GitHub
If you just want to see sample notebooks, you can access them from this index page.