Bug 115 function argument - #122
Conversation
|
I agree we should have a sdY file among our tests. However, the one you created, as it is now, should not work for this purpose, and we should address this. sdY should be provided through file (and not directly as value in the input table) only for molQTLs - meaning GWAS summary statistics that have multiple traits within the same file (e.g. eQTLs, where the same SNP association but for multiple genes are collected in the same GWAS file usually). In case of molQTLs ( Since "traditional" GWAS have a single trait within the same file, their What I suggest:
|
Closes #115
Fix
The solution was simply to remove the parameter from the read_delim function which by default does not convert into data.table
Test
As test I have added a new file that specify the sdY. I think we should keep this file for testing the sdY function as well in out pipeline. After the fix the pipeline run without issue and include in the coloc results the trait with the given sdY