If MAF column is missing, download MAF from UK Biobank and use that instead.
get_UKB_MAF( dat, output_path = file.path(tempdir(), "Data/Reference/UKB_MAF"), force_new_maf = FALSE, download_method = "axel", nThread = 1, verbose = TRUE, conda_env = "echoR" )
| dat | SNP-level data. |
|---|---|
| output_path | Path to store UKB_MAF file in. |
| force_new_maf | Download UKB_MAF file again. |
| download_method |
or
|
| nThread | Number of threads to parallelize over. |
| verbose | Print messages. |
| conda_env | Conda environment to use. |
#>#>#>#>