Wyślij emailem: Association tests for rare and common variants based on genotypic and phenotypic measures of similarity between individuals