Package index
-
call_ancestry() - Top-level ancestry-calling API (decode + segment)
-
call_states() - Coordinate-free ancestry decode (per-observation states)
-
refine_ancestry() - Refine per-individual ancestry calls over a pedigree
-
caller_spec() - Resolve a named caller into emission + duration specs
-
caller_sweep() - Sweep a caller's segmentation parameter with an amortized fit
-
fit() - Fit HMM emission/transition parameters
-
fit_rtiger() - Fit the RTIGER emission once (to reuse across per-chromosome decodes)
-
decode() - Decode the most-likely state path (Viterbi)
-
to_segments() - Collapse per-unit ancestry states into genomic segments
-
emission_count() - Count (BetaBinomial) emission
-
emission_gt() - Genotype (categorical) emission
-
select_emission() - Select an emission model from sequencing depth
-
duration_geometric() - Geometric (memoryless) duration
-
duration_rigidity() - Rigidity duration (RTIGER reimplementation)
-
duration_hsmm() - Explicit-duration (HSMM) sojourn – reserved
-
read_counts() - Read allelic counts into the engine's observation table
-
read_vcf_gt() - Read hard genotype calls (VCF GT) into the engine's observation table
-
read_hapmap() - Read a TASSEL HapMap into the engine's observation table
-
read_plink() - Read a PLINK binary genotype (.bed/.bim/.fam) into the engine's table
-
read_pedigree() - Read a pedigree (FSFHap TSV or PLINK .fam) into a family/priors table
-
write_common_schema() - Write segment calls in the common schema
-
write_vcf_impute() - Write imputed per-marker genotypes as a VCF (LB-Impute-style deliverable)
Genotype calling & downstream utilities
A linkage-free genotype caller and helpers for the QTL-mapping pipeline (genotype densification, LD-based marker thinning).
-
call_gt() - Per-site genotype caller with a swappable prior
-
interpolate_genotype() - Interpolate genotypes onto a target marker grid (Tian 2011 / Chen 2019)
-
pairwise_distance() - Pairwise marker relatedness (r2, mutual information, or variation of information)
-
select_independent() - Select a maximal independent set of markers (LD thinning)
-
position_distance() - Pairwise marker distance from map/physical coordinates
-
breeding_prior() - Genotype-frequency prior implied by a breeding design
-
single_locus_expectation() - Single-locus (Mendelian) genotype expectation for a breeding design
-
parse_design() - Parse a
"BCnSm"breeding-design string into its generation counts -
calibrate_r() - Calibrate the duration hyperparameter
rby KS-vs-sim -
expected_fragment_dist() - Expected fragment-size distribution (the Null / KS target)
-
fit_design_gamma() - Fit a design Gamma from simulated segments
-
cm_to_mb() - Project segment cM coordinates to physical Mb
-
bp_to_cm()cm_to_bp() - Map interpolators: physical <-> genetic position
Simulation & maps
Design-driven cross simulation via simcross, the bundled consensus map, and the marker grid used to sample it.
-
simulate_nil() - Simulate the true donor mosaic of a cross via simcross
-
simulate_family() - Simulate a tracked forest of BCnSm sibling families (shared ancestry)
-
simulate_counts() - Degrade simulated truth to observed allelic read counts
-
load_map() - Load the bundled consensus map
-
build_marker_grid() - Build a physical marker grid from a genetic map
-
maize_map_v5 - B73 v5 maize consensus genetic map
-
paint_calls() - Chromosome-paint called ancestry segments
-
plot_fragment_sizes() - Plot called fragment sizes against the expected Null