我正在尝试 rbind 一个大的数据帧列表(outputDfList),它是通过将一个复杂的函数应用到一个大表来生成的。您可以通过以下方式重新创建 outputDfList:
df1=data.frame("randomseq_chr15q22.1_translocationOrInsertion", "chr15", "63126742")
names(df1)=NULL
df2=df1=data.frame("chr18q12.1_chr18q21.33_large_insertion", "chr18 ", "63126741")
names(df2)=NULL
outputDfList=list(df1,df2)
我的代码是
do.call(rbind, outputDfList)
我收到的错误消息:
Error in pi[[j]] : subscript out of bounds
我仔细检查了每个数据帧的列号,它们都是一样的。我还尝试使用“options(error=recover)”进行调试,但我对它的熟悉程度不足以解决确切的问题。任何帮助表示赞赏。谢谢你。