|
| 1 | +--- |
| 2 | +title: "Examples" |
| 3 | +--- |
| 4 | + |
| 5 | +This page showcases real-world examples using published phylogenetic datasets. |
| 6 | + |
| 7 | +## Weisberg et al. 2020 |
| 8 | + |
| 9 | +Phylogenetic trees of *Agrobacterium* isolates from a study on virulence plasmid conservation and transmission: |
| 10 | + |
| 11 | +> Alexandra J. Weisberg et al., Unexpected conservation and global transmission |
| 12 | +> of agrobacterial virulence plasmids. Science 368, eaba5256 (2020). |
| 13 | +
|
| 14 | +The widget below contains both the MLSA (multilocus sequence analysis) tree and |
| 15 | +the time-calibrated BEAST tree. Use the "Select tree" dropdown in the toolbar's |
| 16 | +"Data" tab to switch between them. |
| 17 | + |
| 18 | +```{python} |
| 19 | +from heattree_py import heat_tree, example_data |
| 20 | +
|
| 21 | +heat_tree( |
| 22 | + tree=[ |
| 23 | + example_data("weisberg_2020_mlsa"), |
| 24 | + example_data("weisberg_2020_beast") |
| 25 | + ], |
| 26 | + metadata=[ |
| 27 | + example_data("weisberg_2020_metadata"), |
| 28 | + example_data("weisberg_2020_metadata") |
| 29 | + ], |
| 30 | + aesthetics=[ |
| 31 | + {"tipLabelText": "strain", "tipLabelColor": "host_type"}, |
| 32 | + {"tipLabelText": "strain", "tipLabelColor": "year_isolated"} |
| 33 | + ], |
| 34 | + tree_names=["MLSA", "BEAST"], |
| 35 | + layout="circular" |
| 36 | +) |
| 37 | +``` |
| 38 | + |
| 39 | +## Bansal et al. 2021 |
| 40 | + |
| 41 | +Phylogenetic tree from a comparative genomics study of *Xylella*: |
| 42 | + |
| 43 | +> Bansal, K., Kumar, S., Kaur, A., Singh, A., & Patil, P. B. (2021). Deep |
| 44 | +> phylo-taxono genomics reveals Xylella as a variant lineage of plant associated |
| 45 | +> Xanthomonas and supports their taxonomic reunification along with |
| 46 | +> Stenotrophomonas and Pseudoxanthomonas. Genomics, 113(6), 3989-4003. |
| 47 | +
|
| 48 | +```{python} |
| 49 | +heat_tree( |
| 50 | + example_data("bansal_2021_tree"), |
| 51 | + metadata=example_data("bansal_2021_metadata"), |
| 52 | + aesthetics={ |
| 53 | + "tipLabelText": "Strain", |
| 54 | + "tipLabelColor": "Lifestyle" |
| 55 | + } |
| 56 | +) |
| 57 | +``` |
0 commit comments