Given a phenotype simulated for a focal region, scan for associations in all supplied regions.

scan_CommonRare(focal_region, regions, null_model, vcf_file)

Arguments

focal_region

- name of the focal region

regions

- list of regions to scan

null_model

- SKAT null model

vcf_file

- path to vcf file with genotypes

Value

a tibble with association p-value for every region and info whether the region is the focal region

Author

Marcin Kierczak <marcin.kierczak@scilifelab.se>