
Last chance! 50% off unlimited learning
Sale ends in
quantifySNPs converts trinary snps to frequency data
quantifySNPs(snps, freqthresh = 0.1, shiftit = FALSE, replaceWithF = T,
traitvecin = NA, trainvec = NA)
input matrix
remove snps below this frequency
shift the snps to smooth the estimate
replaces snps with frequency values
map snps to trait vector
defines training data
matrix is output
# NOT RUN {
mat <- matrix(c(0,1,2,0,0,1,2,2,2),ncol=3)
wmat<-quantifySNPs( mat , freqthresh=0)
# }
Run the code above in your browser using DataLab