gap: Genetic Analysis Package - R