powered by
Returns minor allele frequency based weights
WEIGHT_maf calculates a weighting scheme based on the minor allele frequency: 1/sqrt(maf)
WEIGHT_maf(G)
## The function is currently defined as function (G) { qs <- apply(G, 1, sum)/nrow(G) return(1/sqrt(qs)) }
Run the code above in your browser using DataLab