malariagen / malariagen-data-python

Analyse MalariaGEN data from Python
https://malariagen.github.io/malariagen-data-python/latest/
MIT License
13 stars 23 forks source link

Plot samples as scatter on a map #473

Open alimanfoo opened 8 months ago

alimanfoo commented 8 months ago

Especially for comparison with PCA and NJT plots, it would be very useful to be able to make a scatter plot of samples on a map, using the same colors for the samples as used in the PCA and NJT plots.

Plotly has scatter_geo() and scatter_mapbox() which could be wrapped for this purpose.

alimanfoo commented 8 months ago

A couple of examples where I've used this recently:

image

...via https://github.com/malariagen/vector-ops/blob/master/work/GH2111-misc-analysis-alimanfoo-2023-09-08/2023-09-08-drc-map.ipynb