I can extract instrumental variables from dataset ‘ieu-a-2’ using code below:
exp_dat <- extract_instruments(outcomes = 'ieu-a-2')
But it is strange that I can not extract IVs from dataset ‘ukb-b-7372’ using code below:
exp_dat <- extract_instruments(outcomes = 'ukb-b-7372')
Error occurs as below:
Error in if (out == "[]") { : argument is of length zero
I wish someone can help me to fix this error. I don’t know why this happens.T_T
New contributor
Zichun Wu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.