Hej I really appreciate the help, but the biggest issue is not the methodical coding in of itself. But the creation of the gene by gene distance matric in my picture, at the bottom.
It's for note taking, and for some reason I cannot make a matrix like the one in the picture, without resulting to hard coding. Is there anyway to make a matrix containing the subtracted value between each possible combination of 3 genes containing 3 velues?