calculateMixture(data, ref1, ref2, ol.rm = TRUE, ignore.dropout = TRUE, debug = FALSE)
NB! All sample names must be unique within and between each reference dataset. NB! Samples in ref1 and ref2 must be in 'sync'. The first sample in ref1 is combined with the first sample in ref2 to make a mixture sample. For example: ref1 "A" and ref2 "B" match mixture samples "A_B_1", "A_B_2" and so on. NB! If reference datasets have unequal number of unique samples the smaller dataset will limit the calculation.
Mixture proportion is calculated in accordance with: Locus style (minor:MAJOR) | Mx AA:AB | (A-B)/(A+B) AB:AA | (2*B)/(A+B) AB:AC | B/(B+C) AA:BB | A/(A+B) AB:CC | (A+B)/(A+B+C) AB:CD | (A+B)/(A+B+C+D) AB:AB | NA - cannot be calculated AA:AA | NA - cannot be calculated