UpdateParam: Update Prop and Freq parameters for EM step

View source: R/RcppExports.R

UpdateParamR Documentation

Update Prop and Freq parameters for EM step

Description

Update Prop and Freq parameters for EM step

Usage

UpdateParam(
  Geno,
  Prop,
  Freq,
  ParamToUpdate = "both",
  MinParamBound = 1e-06,
  NbThreads = 0L
)

Arguments

Geno

List of genotying matrices of size "number of markers", with each matrix of dimension "number of individuals" x "number of alleles" whose elements consists of discrete or continuous dosages

Prop

Matrix of admixture coefficients of dimension "number of individuaks" x "number of groups"

Freq

List of allele frequency matrices of size "number of markers", with each matrix of dimension "number of groups" x "number of alleles"

ParamToUpdate

Specify "both", "Prop" or "Freq" to update both admixture proportions and allele frequencies, only admixture proportions or only allele frequencies, respectively

MinParamBound

Minimum bound value for parameters

NbThreads

Number of threads to be used (positive integer) with 0 default values setting automatically all threads available

Value

list of updated parameters with two elements: Prop and Freq


AdmixPoly documentation built on June 18, 2026, 1:06 a.m.