Issue HighlanderLab/AlphaSimR#21 is about converting local trees from MaCS into a tree sequence, meaning that we will have multiple nodes, edges, mutations, etc. We can add these one by one into the table collection using the add_row methods. When we implemented the add_row methods (which are for adding one row at a time), I noticed that there are also methods to add "batches" of rows at once (I assume that these methods iterate over each item of the "batch"), for example https://tskit.dev/tskit/docs/stable/c-api.html#c.tsk_individual_table_append_columns. Keep this in mind @LynxJinyangii as you work on HighlanderLab/AlphaSimR#21.
Issue HighlanderLab/AlphaSimR#21 is about converting local trees from MaCS into a tree sequence, meaning that we will have multiple nodes, edges, mutations, etc. We can add these one by one into the table collection using the
add_rowmethods. When we implemented theadd_rowmethods (which are for adding one row at a time), I noticed that there are also methods to add "batches" of rows at once (I assume that these methods iterate over each item of the "batch"), for example https://tskit.dev/tskit/docs/stable/c-api.html#c.tsk_individual_table_append_columns. Keep this in mind @LynxJinyangii as you work on HighlanderLab/AlphaSimR#21.