摘要:
1、R实现 dir() dat <- read.table("outcome.ped") dim(dat) dat <- dat[,-(1:6)] loci <- data.frame(v1 = rep(1, 2 * nrow(dat))) for (i in 1:(ncol(dat)/2)) { 阅读全文
posted @ 2021-10-31 14:50
小鲨鱼2018
阅读(143)
评论(0)
推荐(0)
摘要:
1、脚本 [root@centos79 test]# cat test.sh #!/bin/bash #step1 check ped file uniqn=$(sed 's/\r//g' $1 | cut -d " " -f 7- | sed 's/ /\n/g' | sort -u | wc - 阅读全文
posted @ 2021-10-31 12:57
小鲨鱼2018
阅读(117)
评论(0)
推荐(0)
摘要:
1、脚本只有10行,报第11行错误?? [root@centos79 test]# bash test.sh test.sh: line 11: syntax error: unexpected end of file [root@centos79 test]# cat -n test.sh 1 # 阅读全文
posted @ 2021-10-31 12:20
小鲨鱼2018
阅读(514)
评论(0)
推荐(0)