Hello.
Is there a way to apply hl.agg.collect() on two rows at once (in my case, ‘locus’ and ‘alleles’), and get a set of structures?
For example, if this is what my matrixtable looks like:
locus alleles
1:1 [“A”,“C”]
1:2 [“A”,“C”]
1:3 [“A”,“C”]
I would like to get something like this:
{Struct(1:1, ["A","C"]), Struct(1:2, ["A","C"]), Struct(1:3, ["A","C"])}
Thanks in advance!