Genetic dissection of complex traits