Yan Wong

Results 262 comments of Yan Wong

I've just been discussing this with @savitakartik. One problem with the "edit the tree sequence" approach is that it might be hard to apply to an entire tree sequence, for...

Here's a fun thing: download this SVG and open it in a browser. It should allow you to hide and show subclades by clicking on them: ![tmp](https://user-images.githubusercontent.com/4699014/186171998-298051f5-9cb2-4c70-8144-80db392e5a83.svg) @benjeffery can probably...

> Cool! I'm guessing in the general case you'd want to expand/collapse the layout though? Yes, I think usually you would want to squash up nodes on the x axis...

I think erroring out is fine for the moment. This needs to be coded up, though. And we need to think if any other operation changes the coordinate space (I...

Here's the nuclear option. We could do the above and then also make *all* the arguments to `simplify` keyword-only, so users would *have* to say either `samples=` or `individuals=` in...

> I was hoping that an `individuals=` option might return a tree sequence with the individuals table limited to the specified individuals. Wouldn't that be the least surprising thing? Perhaps...

Yes, I'm not sure. But metadata is special in a way, as it can be cleared without affecting the integrity of the tree sequence.

> Any ragged column could be cleared with affecting the referential integrity. True. I think I meant that it doesn't change the "look" of the tree sequence to tskit, which...

> No, there's any number of different ways it could fail I'm afraid, and without higher-level metadata APIs we're wasting our time trying to enumerate them. Fine - happy to...

It was @benjeffery who fixed up `get_example_tree_sequences()` to run in parallel, cached, so that `parameterize` worked properly. He might be able to suggest a fix?