Normalize the inputted file of summary statistic data across different cohorts, which includes deleting all genetic variants with NA's and filtering out genetic variants shown more once.

MR_mega_normalize(data_name, qt = TRUE, ncores)

Arguments

data_name

A vector of data name indicating the specific location of the summary statistic data of one GWAS.

qt

Whether the trait is quantitative or not. This method is only used for quantitative traits.

ncores

The number of cores which would be used for running in parallel.

Value

Output the normalized summary statistic data across different cohorts

Author

Siru Wang