Learn R Programming

bnpsd (version 1.1.1)

rgeno-deprecated: Draw genotypes from the admixture model

Description

Draw genotypes from the admixture model

Usage

rgeno(P, Q = NULL, lowMem = FALSE)

Arguments

P

The IAF matrix (if Q is missing) or the intermediate subpopulation allele frequency matrix (if Q is present)

Q

The optional admixture proportion matrix

lowMem

If TRUE, the low-memory algorithm is used (Q must be present)

Value

The genotype matrix

See Also

bnpsd-deprecated