Bubble plot or heatmap ordered by phylogenetic tree
Project description
Bubble Tree
BubbleTree generates a Cleveland dot plot or heatmap ordered by a corresponding phylogenetic tree. Required input: a tab separated frequency table (i.e., with taxa as rows and samples as columns), a newick, nexus, nexml, phyloxml, or cdao formated tree, and a tab separated file with sample metdata. See example files for formatting requirements.
Prerequisites
Bubble tree is written with python 3+ and relies on the following packages:
Install with pip
pip install bubbletree
Install with conda
conda install -c aemann01 bubbletree
Examples
Generate a heatmap figure ordered by the mapping.txt column Habitat2
bubbletree.py -i examples/biom.txt -t examples/tree.tre -m examples/map.txt -c Habitat2 -d heatmap -s sampleID -a ASVID
Generate a bubble chart figure colored and ordered by the mapping.txt column Species and view the tree structure in ASCII format to screen
bubbletree.py -i examples/biom.txt -t examples/tree.tre -m examples/map.txt -c Species -d bubblechart -p True -s sampleID -a ASVID
Generate a bubble chart figure colored and ordered by the mapping.txt column Genus on a remote cluster (Disables the automatic $DISPLAY environment varible used by matplotlib)
bubbletree.py -i examples/biom.txt -t examples/tree.tre -m examples/map.txt -c Genus -d bubblechart -r True -s sampleID -a ASVID
Help and parameter description
bubbletree.py -h
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bubbletree-1.2.tar.gz.
File metadata
- Download URL: bubbletree-1.2.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb2d9eaa6474c42e078c627cdf091fce63d819109919f938d120624d562b5022
|
|
| MD5 |
57d094cfebd1961e3ebc9d62cda0370e
|
|
| BLAKE2b-256 |
b973ed5b3ab0467095db2b8c2b3e359d8338e00c4071a4560028116fb561ce00
|
File details
Details for the file bubbletree-1.2-py3-none-any.whl.
File metadata
- Download URL: bubbletree-1.2-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5c92b6c9b2d418ae7aa2b23eee84f79da08cf63720e51513a899c591fb0650d
|
|
| MD5 |
ca0cfa39000d9f0851dd7fbedbe582ad
|
|
| BLAKE2b-256 |
723120e5bb179a140af970f925ce9b3e72cca1949969de14f24e606c90ca1ab6
|