fraenkel-lab / OmicsIntegrator

This repository is the working directory for the Garnet-Forest bundle of python scripts for analyzing diverse forms of 'omic' data in a network context.
http://fraenkel.mit.edu/omicsintegrator
BSD 2-Clause "Simplified" License
31 stars 21 forks source link

[WIP] Add alpha parameter -- sketch #27

Closed alexlenail closed 7 years ago

alexlenail commented 7 years ago

Do not merge.

This is a sketch to show how you would go about adding the alpha parameter to OmicsIntegrator1. @AmandaKedaigle @iamjli

alexlenail commented 7 years ago

Please ignore the many-line diff. My text editor automatically removes all trailing whitespace.

agitter commented 7 years ago

The Travis failure shows there may be a line wrapping problem:

E     File "/home/travis/build/fraenkel-lab/OmicsIntegrator/scripts/forest.py", line 481
E       degree = Counter({protein1: len(edges.items()) for protein1, edges in self.dirEdges.items()}) +
E                                                                                                     ^
E   SyntaxError: invalid syntax
alexlenail commented 7 years ago

@iamjli implemented this himself locally.

agitter commented 7 years ago

@zfrenchee can we delete the add-alpha-parameter branch?

alexlenail commented 7 years ago

Yup, sorry, my bad!