Closed AMCalejandro closed 1 year ago
Thanks for pointing this out @AMCalejandro . I've just added a line to echodata:::standardize_proportion_cases
so that it skips this step when you set colmap$proportion_cases
to NULL
.
https://github.com/RajLabMSSM/echodata/blob/main/R/standardize_proportion_cases.R
Let me know if this works for you.
1. Bug description
When doing finemapping for QT, it does not really make sense to pass N_CAS, N_CON, or proportion_cases. Similarly, if I do not have t_stat, I would set this to NULL. Otherwise, what I understand from this function is that finemap_loci() will search for a column in my data called t_stat
However, if you do so, finemap_loci fails
2. Reproducible example
Code
Console output
Data
3. Session info