statgen / EPACTS

GNU General Public License v3.0
34 stars 20 forks source link

weighted burden test #11

Open wavefancy opened 5 years ago

wavefancy commented 5 years ago

Hi Developers,

Looking the code for the group.b.wcnt test, the weights was weights <- 1/sqrt(NS[vids]*MAF[vids]*(1-MAF[vids])), does this actually should be weights <- 1/sqrt(MAF[vids]*(1-MAF[vids])). As NS[vids] is the number of called samples for each marker, weight by this way will give more weight to high missing rate variant, seems doesn't make sense.

Thank you very much! Best regards Wallace