Skip to main content

Interactive Phylogenetic trees in Vega

Project description


# PhyloVega

**Visualize phylogenetic trees in Vega from Python.**

![](docs/phylovega-example.gif)

## How does it work?

PhyloVega defines a strict Vega specification that works best for phylogenetic trees. It accepts a PhyloPandas DataFrame as input and
translates it to a Vega `data` field. It then creates a series of Vega
`transform`s to construct a hierarchical tree visualization.

## In the works

Here is a list of features that will eventually make it into PhyloVega.

* Interactive!
* Circular trees
* ... (feel free to add to this list).

## Install

Get the latest release with `pip`:

```
pip install phylovega
```

Install the development version by cloning this repo and calling:
```
pip install -e .
```

## Dependencies

PhyloVega uses the Vega3 specification. To use in the jupyter notebook, you must install the following Python dependencies.

* [PhyloPandas](https://github.com/Zsailer/phylopandass): Pandas DataFrame for Phylogenetics
* [ipyvega](https://github.com/vega/ipyvega): IPython/Jupyter notebook module for Vega and Vega-Lite (a visualization grammar).


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phylovega-0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

phylovega-0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file phylovega-0.1.tar.gz.

File metadata

  • Download URL: phylovega-0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for phylovega-0.1.tar.gz
Algorithm Hash digest
SHA256 675f2259e6982d25a9477888603027459c47fb1ee71c24afb2655dfa7505d6f4
MD5 b4851a7595696c6ff480bd44d2b0d7eb
BLAKE2b-256 fbdba2f39483c97614558552d89bdeaeb00388ab0abc643aaaf74c7ed14b40d3

See more details on using hashes here.

File details

Details for the file phylovega-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for phylovega-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9569f6dcc518ebc3d50e75204322d45b2b9c03954f1d21ff7e07bef294fa0736
MD5 1c3d5c86e8d79dd653fa12548c5039f5
BLAKE2b-256 4ce5d629bb2e42374af226e6843e9ff3615d4cf11c342aaf07451c58d09ed1f1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page