Determine reference divergence while accounting for strand flips. This does not remove ambiguous alleles.
same_ref(ref1, alt1, ref2, alt2)
The reference alleles of the first dataset.
The alternative alleles of the first dataset.
The reference alleles of the second dataset.
The alternative alleles of the second dataset.
A logical vector whether the references alleles are the same. Missing values can result from missing values in the inputs or from ambiguous matching (e.g. matching A/C and A/G).