search for: pvalcases

Displaying 1 result from an estimated 1 matches for "pvalcases".

Did you mean: pv_aliases
2006 Jun 05
3
Fastest way to do HWE.exact test on 100K SNP data?
...like this: ############################################# for (iter in 1:1000) { set.seed(iter) # get the permuted affection status permut <- sample(affSt) for (j in 1:nSNPs) { test <- tapply(all.geno[[j]], permut, HWE.exact) pvalControls[j] <- test$"1"$p.value pvalCases[j] <- test$"2"$p.value } } ############################################## The problem is that it takes ~1 min/iteration (on AMD Opteron 252 processor running Linux). Is there a faster/more efficient way to do this? Thanks, -- Anna Pluzhnikov, PhD Section of Genetic Medicine De...