rpt.AMEL {KinMixLite} | R Documentation |
Replace CPTs for AMEL marker in a DNA mixture
Description
Used after a call to DNAmixture
with compile=FALSE,triangulate=FALSE
, this function replaces the CPTs for the genotype allele count arrays for the AMEL marker in a DNA mixture to specify sex of contributors
Usage
rpt.AMEL(mixture,sex,compile=TRUE)
Arguments
mixture |
A DNAmixture object |
sex |
Integer vector, sex of each contributor |
compile |
Logical, should BN be compiled after modification? |
Details
The sex of each contributor is coded as in pedtools
, namely 0=unspecified, 1=male, 2=female.
Value
No value is returned, the function is called for its side effect
Author(s)
Peter Green (P.J.Green@bristol.ac.uk)
Examples
data(test2data)
data(NGMDyes)
mixD<-DNAmixture(list(epg),k=3,C=list(0.001),database=db,dyes=list(NGMDyes),
triangulate=FALSE,compile=FALSE)
rpt.AMEL(mixD,c(1,2,0)) # the 3 contributors are male, female, and unspecified,respectively.
[Package KinMixLite version 2.1.0 Index]