xinhe-lab / ctwas

package for the causal TWAS project
https://xinhe-lab.github.io/ctwas/
MIT License
32 stars 12 forks source link

User option ignored in ctwas_impute_expr.R #11

Closed nlapier2 closed 6 months ago

nlapier2 commented 7 months ago

In ctwas_impute_expr.R, the function "impute_expr" has a flag for whether to harmonize the SNP data. However, the flag seems to be unused in the function, and the function calls for reading fusion or predictDB weights have harmonize=T hardcoded.

kevinlkx commented 7 months ago

Thanks for catching that, Nathan! We will fix the bug and update the function soon.