Bubble plot or heatmap ordered by phylogenetic tree
Project description
Bubble Tree
Bubble tree takes a tab separated frequency table (e.g., a biom table with taxa as rows and samples as columns), a newick, nexus, nexml, phyloxml, or cdao formatted phylogenetic tree, and a tab separated file with sample metadata to create either a Cleveland dot plot--style or heatmap and tree. See example files for formatting requirements.
Prerequisites
Bubble tree is written with python 3+ and relies on the following packages:
Examples
Generate a heatmap figure ordered by the mapping.txt column Habitat2
bubble_tree.py -i exampes/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
bubble_tree.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)
bubble_tree.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
bubble_tree.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 Distributions
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.1.tar.gz.
File metadata
- Download URL: bubbletree-1.1.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 |
65f3f8cdc0f8b715060b5ad2fef0358a4b25c12eecff28c793a6c94c5360ec46
|
|
| MD5 |
447a2de8e03e2460970dcf50330d3114
|
|
| BLAKE2b-256 |
1ade4333aa6d613fced5dc3054cf9eebd7c9729836f0c4006123a75ccbfd1c0b
|
File details
Details for the file bubbletree-1.1.0-py3-none-any.whl.
File metadata
- Download URL: bubbletree-1.1.0-py3-none-any.whl
- Upload date:
- Size: 20.6 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 |
19f5e30dc6fd4aa22b7389576ad8313947ba9024a8dbf7a47e60b0a3ed3e669d
|
|
| MD5 |
4f3c04f3f41602afc87158474375b1c2
|
|
| BLAKE2b-256 |
300da965a1cf56cbb1386d63e0ea8f9bebfbbe1e26a900b7872a5c772e0ddd10
|
File details
Details for the file bubbletree-1.1-py3-none-any.whl.
File metadata
- Download URL: bubbletree-1.1-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 |
ea6782340ad35422962156f98efaee5712a2b66cad653b658fb41df1194cf4e4
|
|
| MD5 |
5153a1f50d7c06db10133050b8a930b6
|
|
| BLAKE2b-256 |
6868abaaaaeddc4acc98b3236716f8020bd4f1969873c4bbe5dea5c959716991
|