multilocus_assignment: Returns multilocus assignment probability

View source: R/multilocus_assignment.R

multilocus_assignmentR Documentation

Returns multilocus assignment probability

Description

This function takes one or more individuals and estimates their probability of coming from individual populations from multilocus genotype frequencies.

Usage

multilocus_assignment(individual, frequencies, F = 0, verbose = FALSE)

Arguments

individual

A data.frame with a single row for an individual with one or more locus objects

frequencies

A data.frame of allele frequencies from frequencies() that will be used for assignment. This MUST be a frequency data.frame estimated using stratum!

F

The inbreeding parameter (default=0)

verbose

Dump verbose output (default=FALSE)

Value

A data.frame consisting of assignment probabilities.

Author(s)

Rodney J. Dyer rjdyer@vcu.edu


dyerlab/gstudio documentation built on Feb. 2, 2024, 8:24 p.m.