af_snp: Allele frequencies for SNP

Description Usage Arguments Value

View source: R/af.R

Description

Computes individual-specific allele frequencies for a single SNP.

Usage

1
af_snp(snp, LF)

Arguments

snp

vector of 0's, 1's, and 2's

LF

Matrix of logistic factors, with intercept. Pass in the return value from lfa!

Value

vector of allele frequencies


lfa documentation built on Nov. 8, 2020, 7:30 p.m.