Learn R Programming

euroMix (version 1.1.1)

famMix: Likelihood for mixtures with related contributors based on Familias

Description

Likelihood for mixtures with related contributors based on Familias. For a general description of the problem, see paraMix. As opposed to paraMix this function uses the R version of Familias for likelihood calculation and therefore theta-correction, mutation models and silent allele frequencies (but not X-chromosomes or simulation) are accomodated.

Usage

famMix(x, R, id.U, id.V = NULL, partialmarker = NULL, theta = 0, mutationRateFemale = 0, mutationRateMale = 0, mutationModelFemale = "stable", mutationModelMale = "stable", mutationRangeFemale = 0.1, mutationRangeMale = 0.1, silentFrequency = 0,check=TRUE)

Arguments

x
linkdat object.
R
Integers, mixture.
id.U
List of unknown contributors (e.g.,suspect(s)).
id.V
Integers indicating typed non-contributors.
partialmarker
A marker object.
theta
Real in [0,1]
mutationRateFemale
mutationRateMale
mutationModelFemale
mutationModelMale
mutationRangeFemale
mutationRangeMale
silentFrequency
Real in [0,1].
check
If TRUE check of input is performed and calculations stop if they are likely to take too much time.

Value

x
linkdat object updated with genotypes of missing individuals specified by id.U
likelihod
The likelood Pr(R,T,V|H)
allLikelihoods
Terms adding to above Pr(R,T,V|H)

Details

See paraMix.

References

Egeland et al (2013)

See Also

paraMix

Examples

Run this code
#Example
require(paramlink)
require(Familias)
































































































Run the code above in your browser using DataLab