Calculate the weighted MAF.

getN_AverageEAF(ssp, ssf, ncores)

Arguments

ssp

A list of all GWAS.

ssf

A vector including the names of the filtered genetic variants across all cohorts .

ncores

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

Value

The output is the weighted MAF

Author

Siru Wang