powered by
Compute the minimal form of given multiperson IBD pattern.
minimalPattern(x)
An integer vector of even length.
An integer vector of the same length as x.
x
# NOT RUN { v = c(1,2,2,3) stopifnot(identical(minimalPattern(v), c(1,2,1,3))) # }
Run the code above in your browser using DataLab