bschilder / ThreeWayTest

Summary statistics-based association test for identifying the pleiotropic effects with set of genetic variants

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`new_method`: `p_1`,`p_2` variable undefined

bschilder opened this issue · comments

Here, the variables p_1 and p_2 are not defined within the scope of the function. This means that the function will fail if these are not defined as global variables in your environment. The correct way to do this is to pass these variables to the function via an argument, or to compute them within the function.

final_p_vec<-c(p_1,p_2,p_3)

I believe the new_method function has since been rename TWT, and this issue is now resolved.