mkphenotype function

generate a phenotype data frame