estimate_autotheta_1subpop_genotypes {malan} | R Documentation |
Estimate autosomal theta from genotypes
Description
Estimate autosomal theta for one subpopulation given a sample of genotypes.
Usage
estimate_autotheta_1subpop_genotypes(genotypes, return_estimation_info = FALSE)
Arguments
genotypes |
Matrix of genotypes: two columns (allele1 and allele2) and a row per individual |
return_estimation_info |
Whether to return the quantities used to estimate |
Details
Assumes that pedigrees_all_populate_autosomal()
was used first to populate autosomal genotypes.
Value
List:
-
theta
-
estimate
: Vector of length 1 containing estimate of theta or NA if it could not be estimated -
error
: true if an error happened, false otherwise -
details
: contains description if an error happened -
estimation_info
: Ifreturn_estimation_info = true
: a list with information used to estimatetheta
. ElseNULL
.
-
[Package malan version 1.0.3 Index]