estimate_autotheta_1subpop_individuals: Estimate autosomal theta from individuals

View source: R/RcppExports.R

estimate_autotheta_1subpop_individualsR Documentation

Estimate autosomal theta from individuals

Description

Estimate autosomal theta for one subpopulation given a list of individuals.

Usage

estimate_autotheta_1subpop_individuals(
  individuals,
  return_estimation_info = FALSE
)

Arguments

individuals

Individuals to get haplotypes for.

return_estimation_info

Whether to return the quantities used to estimate theta

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: If return_estimation_info = true: a list with information used to estimate theta. Else NULL.


malan documentation built on July 4, 2024, 9:09 a.m.