match_ind_maf {fcfdr} | R Documentation |
Function to downsample independent SNPs to match MAF distribution of whole set.
Description
Matches MAF distribution of independent set of SNPs to MAF distribution of whole set of SNPs to avoid MAF-based confounding.
Usage
match_ind_maf(maf, indep_index)
Arguments
maf |
minor allele frequencies of (all) SNPs |
indep_index |
indices of independent SNPs |
Details
Must supply maf values from the whole data set, not just the independent SNPs.
Value
indices of independent SNP in chosen in sample
[Package fcfdr version 1.0.0 Index]