example, to run 8 phenotypes we need to choose n_pheno=8 and add lines coeff[7,]=…, coeff[8,]=… after coeff[6,]=c(0.7,0.9,0.4,0.4,0.1,0.9) line. Similarly, to add more normal variables we need to change n_norm and also number of columns of coeff[,] matrix like coeff[6,]=c(0.7,0.9,0.4,0.4,0.1,0.9,0.4,0.5,0.7). The TATES p-values are calculated using the general formulas for any number of phenotypes, as described in van der Sluis et al. (2013).