ReadData {metaGE} | R Documentation |
This function read the one file, select interesting columns and rename them.
ReadData(ListN, FileN, VarN, MinFreq = 0)
ListN |
The name of the list of files where the file to read belongs or NULL if there is only one list of files |
FileN |
The name of the file to read |
VarN |
A named list containing the column names in the file corresponding to the variables below: MARKER, CHR, POS, EFFECT, PVAL. (optional: FREQ, ALLELE0, ALLELE1) |
MinFreq |
A numeric value allowing to filter to keep markers with MAF > MinFreq |
A tibble with the interesting columns selected and renamed.