Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsailer committed Apr 10, 2018
1 parent 3cff12b commit d483d6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
25 changes: 0 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,31 +48,6 @@ model.fit()
# Plot coefficients (powered by matplotlib).
coef_sites = model.epistasis.sites
coef_values = model.epistasis.values

```

Or, fit a chain of global *and* local epistasis models.

```python
from epistasis import EpistasisPipeline
from epistasis.models import (EpistasisLinearRegression,
EpistasisPowerTransform)

# Construct a pipeline
pipeline = EpistasisPipeline([
EpistasisPowerTransform(lmbda=1, A=0, B=0),
EpistasisLinearRegression(order=3)
])

# Add the genotype phenotype map to pipeline.
pipeline.add_gpm(gpm)

# Fit pipeline to given genotype-phenotype map.
pipeline.fit()

# Plot coefficients (powered by matplotlib).
coef_sites = pipeline[1].epistasis.sites
coef_values = pipeline[1].epistasis.values
```

More examples can be found in these [binder notebooks](https://mybinder.org/v2/gh/harmslab/epistasis-notebooks/master).
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
]

setup(name='epistasis',
version='0.5.0',
version='0.6.0',
description='High-order epistasis models for genotype-phenotype maps',
author='Zach Sailer',
author_email='zachsailer@gmail.com',
Expand Down

0 comments on commit d483d6d

Please sign in to comment.