Description Usage Arguments Value Author(s) Examples
quantifySNPs converts trinary snps to frequency data
1 2 3 4 5 6 7 8 | quantifySNPs(
snps,
freqthresh = 0.1,
shiftit = FALSE,
replaceWithF = TRUE,
traitvecin = NA,
trainvec = NA
)
|
snps |
input matrix |
freqthresh |
remove snps below this frequency |
shiftit |
shift the snps to smooth the estimate |
replaceWithF |
replaces snps with frequency values |
traitvecin |
map snps to trait vector |
trainvec |
defines training data |
matrix is output
Avants BB
1 2 | mat <- matrix(c(0,1,2,0,0,1,2,2,2),ncol=3)
wmat<-quantifySNPs( mat , freqthresh=0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.