match_ind_maf.Rd
Matches MAF distribution of independent set of SNPs to MAF distribution of whole set of SNPs to avoid MAF-based confounding.
match_ind_maf(maf, indep_index)
maf | minor allele frequencies of (all) SNPs |
---|---|
indep_index | indices of independent SNPs |
indices of independent SNP in chosen in sample
Must supply maf values from the whole data set, not just the independent SNPs.