Permute the phenotypes matrix and then scan the genome. Record the genomewide greatest LOD score for each permuted data set.
Useful links