gt2aca | R Documentation |
Returns list of vectors of allele counts corresponding to genotype profile in gt
gt2aca(mixture,gt,eps=0)
mixture |
A compiled DNAmixture object |
gt |
Genotype profile as a data frame containing variables |
eps |
If non-zero, the function creates the output allele count arrays in a different format, that mitigates subsequent propagation errors in some situations. Instead of a vector of allele counts, each element of the list is a matrix with 3 columns, corresponding to allele counts 0, 1 and 2, with entries 1 or |
Returns list of vectors of allele counts. The log probability for the genotype is returned in its attribute 'logGt
'.
Peter Green (P.J.Green@bristol.ac.uk)
data(test2data)
data(NGMDyes)
# set threshold C
C<-0.001
mixD<-DNAmixture(list(epg),k=2,C=list(C),database=db,dyes=list(NGMDyes))
cgtcaca<-gt2aca(mixD,Cgt)
print(Cgt)
print(cgtcaca)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.