Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tutorial feature: spatial analysis #122

Open
bhaller opened this issue Jan 12, 2021 · 3 comments
Open

tutorial feature: spatial analysis #122

bhaller opened this issue Jan 12, 2021 · 3 comments

Comments

@bhaller
Copy link
Collaborator

bhaller commented Jan 12, 2021

This would go well with the new "retain" feature that @hyanwong has done. The idea would be to give a simple example of how to run a 2D spatial model, have the spatial positions of all relevant ancestors be kept in the tree sequence, and do some kind of interesting spatial analysis at the end using that information on the python side. Maybe a nice 3D (x/y/time) dendritic plot of how neutral versus selected mutations move across the landscape through time, or something? I'd love to see plots like that. :-> Anyway, the point would be to demonstrate how to save the spatial info and access it on the python side.

@hyanwong
Copy link
Member

Lovely idea. Graham Coop had some nice illustrations of spatial trees in the PopGroup talk. I wonder if @mmosmond would like to help with this? If he does the SLiM side, I can have a go at the viz.

@mmosmond
Copy link

Would be happy to help with this. Could be a tutorial feature, could also be an addition to the spatial vignette?

@petrelharp
Copy link
Contributor

This would be wonderful! I'd lean towards making a new vignette, rather than extending the already long-ish spatial vignette, but either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants