假设存在路径C:/coverage/Homo_sapiens.sort.add_exon1_coverage.txt,欲提取Homo_sapiens.sort.add_exon1_coverage.txt文件名,则用到basename函数和start.stop参数,命令行如下所示: filename<-'C:/coverage/Homo_sapiens.sort.add_exon1_coverage.txt' substr(basename(filename), start = 1, stop…