scaleAF: Scale Allele Frequencies

Description Usage Arguments Value

View source: R/estsh.R

Description

Allele frequencies are scaled by logit- or arcsin-transformation.

Usage

1
scaleAF(af, method = c("logit", "asin"))

Arguments

af

numeric vector of allele frequencies [0,1] that should be transformed

method

character string determining the scaling method. Possible values are "logit" (default) and "asin".

Value

Numeric vector of transformed allele frequencies


ThomasTaus/poolSeq documentation built on Oct. 22, 2018, 7:21 p.m.