Work on the stats/analysis tutorial
@hyanwong I had a bash at the stats/analysis tutorial following your previous style. Let me know what you think.
There are two outstanding TODO's in there:
- tree sequence has no time units so I wonder if we should say anything there about that - any suggestions?
- I don't fully understand what node-stat refers to so struggle to write that up - any suggestions?
Other edits are from https://github.com/tskit-dev/tutorials/pull/280 (I struggled with squashing commits so openning this PR from a branch).
Thinking a bit more, we currently have in this tutorial:
-
an intro to stats by showcasing diversity and divergence in combination with windows/sample_sets/indexes/span_normalise/mode arguments and
-
an intro to AFS.
There is a lot of other analysis functionality available https://tskit.dev/tskit/docs/stable/python-api.html#statistics and users might be keen on different functionality, but we don’t want to cover each function in the tutorial. Are there some that should/must be mentioned or is above enough?