坐山雕

导航

2021年1月18日

transpose

摘要: import os,sysIN=sys.argv[1]#IN="matrix.CELL_TFYNSUM_HITSUM.plpc.sTNS.data.plpc.RPM"FIN=open(IN,"r")FOUT=open(IN+".t","w")D={}cn=0while True: line=FIN. 阅读全文

posted @ 2021-01-18 19:11 坐山雕 阅读(38) 评论(0) 推荐(0) 编辑

\n ,

摘要: perl -pe 's/\n/$1,/' your_file 阅读全文

posted @ 2021-01-18 14:55 坐山雕 阅读(121) 评论(0) 推荐(0) 编辑

R args

摘要: args = commandArgs(trailingOnly=TRUE) IN=args[1] 阅读全文

posted @ 2021-01-18 14:39 坐山雕 阅读(79) 评论(0) 推荐(0) 编辑