Description
Return allele/called frequency and observed-minus-supplied residual.
Population-genetic probabilities depend on copy counts, ploidy, effective size and model assumptions. A neutral fixation identity and a selected diffusion approximation describe different conditions; neither guarantees an actual evolutionary outcome.
Return allele/called frequency and observed-minus-supplied residual.
When to use this tool
Use Allele Count Frequency Residual when you need the stated population-count, coalescent or fixation-model term.
How to use the tool and how it works
- Enter alleleCount, calledAlleles, suppliedFrequency. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read observedFrequency, residual. Use the output convention below.
Require positive calledAlleles, alleleCount within it and supplied frequency in [0, 1]. Return allele/called frequency and observed-minus-supplied residual.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| alleleCount | Allele Count | Required. Safe integer; minimum 0. |
| calledAlleles | Called Alleles | Required. Safe integer; minimum 1. |
| suppliedFrequency | Supplied Frequency | Required. Finite number; minimum 0; maximum 1. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| observedFrequency | Observed Frequency | Required. Finite number. |
| residual | Residual | Required. Finite number. |
{
"input": {
"alleleCount": 3,
"calledAlleles": 10,
"suppliedFrequency": 0.2
},
"output": {
"observedFrequency": 0.3,
"residual": 0.09999999999999998
}
} Limitations and assumptions
- The denominator is called alleles rather than individuals or expected copies. No genotype quality, missingness correction or population-frequency inference is performed.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use the appropriate population-genetic analysis and data to estimate effective size, selection and uncertainty. Keep actual census counts, effective population conventions and discrete versus continuous-time approximations distinct.
References
Similar or alternative tools
- Allele Missing Ploidy Support Flag
Multiply expected alleles, clamp missing at zero and flag observations above expected.
- Inbreeding Heterozygote Deficit Term
Return 2p(1-p)(1-F) heterozygosity and both homozygote frequencies with added Fp(1-p).