data(Example)
# tauhat = getChangepoints(readMatrix) # uncomment this to run the function.
# This example has 6309 variant loci and it took 94 seconds to run on a laptop with
# Intel Core i5-2410M processor.
Run the code above in your browser using DataLab