profile_AA_x0: Function that compute the genotype probability for each...

Description Usage Arguments

View source: R/profile_AA_x0.R

Description

Function that compute the genotype probability for each population (rows in df)

Usage

1
2
profile_AA_x0(AA_profile, df, select = c("locus", "x0"),
  keep_dropped = FALSE)

Arguments

AA_profile

A tibble/data.frame with columns 'locus', 'A1' and 'A2' holding the separated version of a genotype, eg. AG -> A1: A, A2: G

df

The database with main alleles per locus

select

Which columns to return

keep_dropped

Logical. Keep the non-matching alleles (compared to 'db') and those with genotype 'NN'


genogeographer documentation built on Sept. 27, 2019, 5:03 p.m.