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

Ideas for viz #17

Open
hyanwong opened this issue Dec 4, 2020 · 0 comments
Open

Ideas for viz #17

hyanwong opened this issue Dec 4, 2020 · 0 comments

Comments

@hyanwong
Copy link
Collaborator

hyanwong commented Dec 4, 2020

I just had a good idea for making sense of the ancestry viz, so I'm jotting it down here. Instead of trying to visualise everyone, we could focus on just one leaf node (e.g. a Bougainville), and plot lines joining the sample to our geographical position of its ancestors. For each point in the genome there will therefore only be a single line, tracing a path back to the grand MRCA in Africa. If we want, the opacity (alpha) value of the line could reflect the span of the genome covered by that particular route.

In the case of Bougainville, we are interested in which lines "pass through" Denisovan-like ancestry. As we discussed, I'm keen that this doesn't just involve direct descent from the proxy ancestors, but also descent from Denisovan-like individuals. My suggestion is to imagine colouring in the Denisovan samples in (say) orange, and imagine that colour gradually changing to the default (blue?) as we go back in time - the exact mapping of colour to time that works vest for the viz would need to be determined by trial and error. We needn't actually plot the Denisovan ancestors, merely assign a value to each lineage, which is "degree of closeness to the Denisovan sample(s). We then plot the Bougainville lineages using the colour obtained from the first time that lineage joins with a Denisovan lineage.

This doesn't require us to set any specific parameters about "how Denisovan" an ancestor is - we just use time as a continuous colour scale. It could also be extend it to a few basically identical Bougainville samples.

I guess the key here is to simplify the viz by focussing on lineages that go back from only a single genome at a time.

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

No branches or pull requests

1 participant