处理芯片时出现Error in strsplit(Cellfiles[i], "_")[[1]] : subscript out of bounds如何解决

用Cellfiles <- dir(pattern="CEL$")

for(i in 1:length(Cellfiles)){

  file.rename(Cellfiles[i],paste(strsplit(Cellfiles[i],"_")[[1]][1],".CEL",sep=""))

}

Cellfiles <- dir(pattern="CEL$")

Cellfiles时报错


请先 登录 后评论
  • 0 关注
  • 0 收藏,3137 浏览
  • 月和23 提出于 2019-10-16 02:48

相似问题