Jaccard similarity of all pairwise combinations of variants.
Extract the set of mutations for each variant, then compare pairwise across all variants.
There are a couple of interesting cases:
- One variant is a subset of another (all the same mutations, but one has more)
- One variant is almost a subset of the other.
- Two variants differ by one mutation.
- Jaccard similarity
- TN93 distance?
The function should be able to calculate these before data are fused (i.e. with varmat) as well as after (i.e. with the fused data).
Jaccard similarity of all pairwise combinations of variants.
Extract the set of mutations for each variant, then compare pairwise across all variants.
There are a couple of interesting cases:
The function should be able to calculate these before data are fused (i.e. with varmat) as well as after (i.e. with the fused data).