xihaoli / STAARpipeline

An R package for performing association analysis of whole-genome/whole-exome sequencing (WGS/WES) studies using STAARpipeline
GNU General Public License v3.0
58 stars 18 forks source link

Integration of annotations #11

Closed Andi963 closed 8 months ago

Andi963 commented 10 months ago

Hello I have a question based on the STAAR code and its underlying publications.

In the code it says: `#For each noncoding functional category, the conditional STAAR-B p-value is a p-value from an omnibus test

' that aggregated conditional Burden(1,25) and Burden(1,1),

' together with conditional p-values of each test weighted by each annotation using Cauchy method.`

--> So this seems to me like calculate e.g. different burden tests by annotation weights, af weights etc. and integrating them afterwards

But based on your publication it seems to me that you integrated the beta-allele frequency weighting directly with the functional variant annotation and the variant score to generate e.g. QBurden.

Which one is correct?

Best Andi

xihaoli commented 10 months ago

Hi @Andi963,

Thanks for checking. I can confirm the STAAR code and its underlying methodology are consistent. Specifically, STAAR considers different MAF-based weights (using beta distribution density), and for each MAF-based weight (e.g. Beta(1,1)), STAAR incorporates one weighting scheme that uses MAF only as well as K different annotation weights on top of MAF (so K + 1 in total), referring to Figure 1d in the STAAR publication for both unconditional analysis and conditional analysis. This is also reflected in the unconditional/conditional analysis output from the STAAR and STAARpipeline packages.

Please let me know if there are any questions.

Best, Xihao

Andi963 commented 10 months ago

Many thanks for your answer! So does that mean that e.g. STAAR-B integrates e.g.:

Best and many thanks again, Andi

xihaoli commented 10 months ago

Hi @Andi963,

Thanks for your follow-up. For example, STAAR-B integrates e.g.:

Hope this is clear.

Best, Xihao