ReadData {metaGE}R Documentation

ReadData

Description

This function read the one file, select interesting columns and rename them.

Usage

ReadData(ListN, FileN, VarN, MinFreq = 0)

Arguments

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, EFFECT_SE, PVAL,(optional: FREQ, ALLELE0, ALLELE1, wEIGHT)

MinFreq

A numeric value allowing to filter to keep markers with MAF > MinFreq

Value

A tibble with the interesting columns selected and renamed.


[Package metaGE version 1.0.3 Index]