Genetic methods for biology and epidemiology