Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network analysis notebooks #7

Open
karinSDU opened this issue Mar 20, 2019 · 4 comments
Open

Network analysis notebooks #7

karinSDU opened this issue Mar 20, 2019 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@karinSDU
Copy link
Contributor

Dear all
I have uploaded three notebooks in network analysis.

  1. Basic network terms (still need to finish part four with attributes/colors)
  2. Protein-protein ego network (here they apply the basic network terms that they just learned and will learn some more terms incl. very basic matrixplot from nxviz- last part not finished)
  3. Using py2cytoscape on a network and applying layouts and styles and saving.

I would like to know if these three elements covers what you think is needed and whether more should be implemented. Could I ask for a respons within 2 weeks?

@karinSDU karinSDU added the question Further information is requested label Mar 20, 2019
@veitveit
Copy link
Contributor

There are still a few issues and these notebooks are a very good use case to get them solved:

Installation
The installation cell contains code to load the necessary packages but not installation instructions. The user still needs to install them externally. So we either add instructions how to do that (pip or conda) or add code to install the packages. See also issue #8 about this.

custom package
As far as I understand, there is a custom package which was probably coming with the original example.
I cannot run the notebooks without the files of this package.
@karinSDU Did you have to install such a package? Then the files need to be provided, too, and you should also check whether there is any license on the files, so we are sure that we actually can use them.

Loading packages/libraries
The corresponding code should got then to the cell Loading data which I will now rename to Loading data and packages

@arvidl
Copy link
Contributor

arvidl commented Mar 23, 2019

I think an easy way to do installation of packages (and keep a well separated conda environment) is to follow the guide in 'setup.md' carefully. Using the 'environment.yml' and 'conda env update' mechanisms does all the installations automagically ... @karinSDU / @veitveit

@karinSDU
Copy link
Contributor Author

karinSDU commented Apr 2, 2019

I think I have solved the custom problem - or at least partly?
I uploaded the first two notebooks successfully to binder:
https://mybinder.org/v2/gh/karinSDU/conda/master
For this to work I deleted some of the lines with import and made the environment.yml file:

name: example-environment
channels:

  • conda-forge
    dependencies:
  • numpy
  • psutil
  • toolz
  • matplotlib
  • dill
  • pandas
  • partd
  • bokeh
  • dask
  • networkx
  • nxviz

@veitveit
Copy link
Contributor

veitveit commented Aug 1, 2019

That seems to work.
@karinSDU Could you add the necessary files to this repository and we then test it on mybinder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants