[R] permutation test - query

2009-08-31 Thread Yonatan Nissenbaum
Hi, My query is regarding permutation test and reshuffling of genotype/phenotype data I have been using the haplo.stats package of R. for haplotype analysis and I would like to perform an analysis which I'm requesting your advice. I have a data set of individuals genotyped for 12 SNP and a

[R] permutation and reshuffling

2009-09-01 Thread Yonatan Nissenbaum
Hi, I'm looking for an efficient code that will enable me to reshuffle data (phenotype) for certain number of individuals and creating a loop that will randomly simulate it for 1 times *(permutation)*. I also need to find how I keep the information (p value for each SNP) gathered for all