向大家提问:我在利用MRlap做重叠率分析时频繁报错:
exposure = import('e1.csv')
outcome = import('e2.csv')
A = MRlap::MRlap(exposure = exposure,
exposure_name = "e1",
outcome = outcome,
outcome_name = "e2",
ld = system.file("Data/eur_w_ld_chr", package="MRlapPro"),
hm3 = system.file("Data/eur_w_ld_chr", "w_hm3.snplist", package="MRlapPro")
)
<<< Preparation of analysis >>>
> Checking parameters
The p-value threshold used for selecting MR instruments is: 5e-08
The distance used for pruning MR instruments is: 500 Kb
Distance-based pruning will be used for MR instruments
> Processing exposure (e1) summary statistics...
# Preparation of the data...
The data.frame used as input is: "exposure".
SNPID column, ok - CHR column, ok - POS column, ok - ALT column, ok - REF column, ok - BETA column, ok - SE column, ok - N column, ok
> Processing outcome (e2) summary statistics...
# Preparation of the data...
The data.frame used as input is: "outcome".
SNPID column, ok - CHR column, ok - POS column, ok - ALT column, ok - REF column, ok - BETA column, ok - SE column, ok - N column, ok
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<<< Performing cross-trait LDSC >>>
> Munging exposure data...
> Munging outcome data...
> Running cross-trait LDSC...
错误于h(simpleError(msg, call)):
在为函数“t”选择方法时计算参数“x”时出错:非整合参数
之前以为是数据的问题,后来按照要求作了认真的清洗,也没有解决,反而一直在报错。问AI也没有得到妥善的解决,请问这是什么原因呢?