geno_freq_calcs: from on 012 file compute expected and observed genotype...

Description Usage Arguments

View source: R/geno_freq_calcs.R

Description

from on 012 file compute expected and observed genotype counts by population

Usage

1
geno_freq_calcs(g012, pops = NULL)

Arguments

g012

an 012 matrix. Missing data can be -1 or NA.

pops

a data frame with one column "pop" and the other "sample" that tells which populations individuals are in. If "pop" entry is NA for an individual, that individual is dropped silently. If NULL then everyone is assumed to be in the same population.


eriqande/genoscapeRtools documentation built on Dec. 27, 2021, 8:01 a.m.