-
Notifications
You must be signed in to change notification settings - Fork 0
Examples
Complete walkthrough notebooks and sample datasets are available in the GitHub repository:
PhyloGeoPlot GitHub repository
The repository currently includes two principal use cases.
This example links a phylogenetic tree of Malagasy Coffea taxa to specimen occurrence records in Madagascar.
Trait values such as caffeine concentration can be represented using a continuous color scale, and environmental raster layers can be included in the geographic panel.
Example notebooks:
Sample data are available under:
examples/sample_data/use_case_1/
This example illustrates linked phylogenetic and geographic visualization for Cumacea taxa distributed across North Atlantic regions.
Example notebook:

Sample data are available under:
examples/sample_data/use_case_2/
The example datasets and notebooks are maintained in the GitHub repository and are not bundled into the PyPI installation.
To reproduce the examples, clone the repository:
git clone https://github.com/tahiri-lab/PhyloGeoPlot.git
cd PhyloGeoPlotInstall the package in editable mode with the development dependencies:
pip install -e ".[dev]"The example files can then be accessed under:
examples/
├── sample_data/
│ ├── use_case_1/
│ └── use_case_2/
├── use_case_1/
└── use_case_2/
For example:
python -m phylogeoplot.preprocessing.format_gbif_data \
examples/sample_data/use_case_1/gbif_coffea_ex3.csv \
examples/sample_data/use_case_1/node_names.csvPlease email us at: Nadia.Tahiri@USherbrooke.ca for any questions or feedback.