qpgraph_resample_snps2: Evaluate a qpgraph model many times

qpgraph_resample_snps2R Documentation

Evaluate a qpgraph model many times

Description

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

Usage

qpgraph_resample_snps2(f2_blocks, graph, f2_blocks_test, verbose = TRUE, ...)

Arguments

f2_blocks

A list of bootstrap resampled f2-statistics

graph

An admixture graph

f2_blocks_test

A list of f2-statistics from all blocks which were not used in the corresponding f2-array in f2_blocks

verbose

Print progress updates

...

Arguments passed to qpgraph

Value

A data frame with qpgraph results for each iteration of bootstrap resampled f2-statistics

See Also

compare_fits boo_list


uqrmaie1/admixtools documentation built on Nov. 3, 2024, 12:56 a.m.