This function is used in combination with compare_fits
in order to test whether one graph has a significantly better fit than another. using a list of bootstrap resampled f2-statistics and corresponding test-set f2-statistics
qpgraph_resample_snps2(f2_blocks, graph, f2_blocks_test, verbose = TRUE, ...)
A list of bootstrap resampled f2-statistics
An admixture graph
A list of f2-statistics from all blocks which were not used in the corresponding f2-array in f2_blocks
Print progress updates
Arguments passed to qpgraph
A data frame with qpgraph
results for each iteration of bootstrap resampled f2-statistics