profile_AA_x0 {genogeographer}R Documentation

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

Description

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

Usage

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'


[Package genogeographer version 0.1.19 Index]