| kTo | No | largest number of ancestral populations to fit; every K from kFrom up is fitted, on one random stream. | |
| vcf | Yes | the call set as VCF text (a .vcf, or a .vcf.gz already decompressed); every record's GT is read, ploidy 2. | |
| seed | No | R's set.seed value: it fixes the held-out genotypes and every K's random start, so a run is reproducible and citable. | |
| alpha | No | regularisation added to every cell of FᵀF in the Q step: larger values push each sample toward fewer ancestries. Advanced. | |
| kFrom | No | smallest number of ancestral populations to fit. | |
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| ploidy | No | 2 for diploid ALT counts 0/1/2, 1 for haploid 0/1. Advanced. | |
| groupBy | No | which column of the sample table groups the samples; empty is its first grouping column. | |
| holdOut | No | hold out a share of genotypes and score each K by the cross-entropy of predicting them; the K with the lowest is the one the data support best. | |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| tolerance | No | stop when the relative change in the least-squares criterion falls below this (after 16 passes). Advanced. | |
| iterations | No | most alternating passes per K. Advanced. | |
| populations | No | a sample table: a header row with a `sample` column and one or more grouping columns (tab-separated, as 1000 Genomes' .panel). Samples it does not list belong to no group. | |
| holdOutShare | No | share of genotypes held out for the cross-entropy. Only applies when holdOut is true. | |