I have a lot of plant-breeding data (tens of thousands of results) that are composed of phenotypes of parents and offspring. The plants however went trough years of selection and it is not balanced. Moreover, I have a lot of inbreeding data. What is the best way to estimate heritability from this type of data, having the exact pedigree relations and the phenotypes (But no accurate environmental data). Moreover, how would you estimate heritability from nominal traits (like color or resistance)?