> abcclumped<-read_exposure_data((filename = abc,sep = ",",snp_col = "SNP",beta_col = "beta",se_col = "se",effect_allele_col = "effect_allele",other_allele_col = "other_allele",eaf_col = "eaf",clump = TRUE)) Error: unexpected ',' in "abcclumped<-read_exposure_data((filename = abc,"
时间: 2023-07-19 11:45:03 浏览: 269
slump_test.data
这段代码有一个语法错误,需要将其修改为:
```
abcclumped <- read_exposure_data(filename = "ABC.csv",
sep = ",",
snp_col = "SNP",
beta_col = "beta",
se_col = "se",
effect_allele_col = "effect_allele",
other_allele_col = "other_allele",
eaf_col = "eaf",
clump = TRUE)
```
在函数`read_exposure_data`中,`filename`参数应该是一个字符串,而不是数据框架名字,因此需要将其修改为`"ABC.csv"`。同时,函数参数的括号也需要去掉。
阅读全文