Displaying 1 result from an estimated 1 matches for "simulatesnps".
2008 May 08
1
scrime Package simulatedSNP function
...controls
Sample cases controls
2000 .5 .10
1500 .6 .40
In each of the row, i need to simulate 100 snp and calculate the pvalue
##############Download Scrime Package###########################
library(scrime)
n.obs<-1000
n.snp<-100
vec.ia<-1
simulateSNPs(n.obs, n.snp, vec.ia, prop.explain = 1,
list.ia.val = NULL, vec.ia.num = NULL, maf = c(0.1, 0.12),
prob.val = rep(1/3, 3), list.equal = NULL, prob.equal = 0.8,
rm.redundancy = TRUE, shuffle = FALSE, shuffle.obs = FALSE, rand = NA)
What is the right parameter. I am pretty new with R.
wrong result....