mma(genof, p, sequent = FALSE, exact = FALSE, dismat = FALSE)
FALSE
; binary 0 = same
number of alleles, 1 = different if TRUE
.cList
, dismat
if that option is
TRUE
and further optimized lists (op
, op2
,
moment2
) if sequent
is TRUE
.
vector as the first item. The list of items includes:op
finds all the samples with same 1st moment similarity with mma
results. op2
finds all the samples with the same 1st moment
similarity with every list from op result. A combination of op
and op2
comes very close to exhaustive search in
practice. moment2
find the best list with minimum 2nd moments
from the output of op2
. Note that some warnings occurs
accompanying our return statement. The results are not affected though.This function combines several functions in Jin's original code.
mma(genof,p,sequent=TRUE
is identical to the depricated
mmasequent(genof,p
.
mma(genof,p,exact=TRUE
is identical to the depricated
mmaM1(genof,p
(actually, mma
uses dissimilarity while
mmaM1
used similarity = 1 - dissimilarity).
K1
, read.cross