file = list.files(path = "G:\\",pattern = ".txt")
file
RPKM <- lapply(file,function(x) read.table(x, header = T,row.names = 1))
rawdata <-Reduce(cbind, RPKM)
file = list.files(path = "G:\\",pattern = ".txt")
file
RPKM <- lapply(file,function(x) read.table(x, header = T,row.names = 1))
rawdata <-Reduce(cbind, RPKM)
本文标题:批量读取文件
本文链接:https://www.haomeiwen.com/subject/gtsrnctx.html
网友评论