Now we can construct R objects mixData, mixPheno.