Skip to contents

Create a cross-backend Q-matrix comparison record

Usage

new_ancestry_cross_backend_comparison(
  backend_a,
  backend_b,
  k,
  alignment,
  minimum_alignment_score,
  role = c("equivalence", "diagnostic"),
  interpretation = ""
)

Arguments

backend_a, backend_b

Distinct backend names being compared.

k

Shared K value at which both backends were compared.

alignment

Alignment result from `align_ancestry_replicate()`, or a list with `alignment_score`, `correlation_score`, `cosine_score`, `rmsd`.

minimum_alignment_score

Minimum acceptable alignment score.

role

`equivalence` for release-gating comparisons or `diagnostic` for transparent non-gating context.

interpretation

Scientific interpretation of the comparison.

Value

A validated `PopgenVCFAncestryCrossBackendComparison`.