checkpeaks | R Documentation |
Check whether database has positive frequencies for all peaks/alleles observed in epg and genotype profiles, and optionally modify db by addition of small positive frequencies so that it does, followed by renormalisation of frequencies for each allele to sum to 1.
checkpeaks(x,db,fix=0.003)
x |
data frame, the epg or genotype profile; see |
db |
data frame, the db; see |
fix |
numeric: if positive, increment to db frequency for each identified discrepant peak |
(possibly modified) db
Peter Green (P.J.Green@bristol.ac.uk)
data(test2data)
db<-checkpeaks(epg,db)
db<-checkpeaks(Cgt,db)
Xgt<-data.frame(marker=c('D10','D12'),allele1=c(8,13),allele2=c(13,10))
db<-checkpeaks(Xgt,db)
db
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.