adaptRefs: Adapt references to imputed data

Description Usage Arguments Value

View source: R/scoreInvHap.R

Description

Internal

Usage

1
adaptRefs(Refs, alleletable, haploid = FALSE)

Arguments

Refs

List with the allele frequencies

alleletable

Data.frame with the alleles per SNP (from getAlleleTable)

haploid

Logical. If TRUE, modify references for haploid samples

Value

List with the same values than Refs but adapted to imputation data


isglobal-brge/snpfier documentation built on Feb. 10, 2021, 3:29 a.m.