上一页 1 ··· 253 254 255 256 257 258 259 260 261 ··· 367 下一页
摘要: 1、测试数据如下: [root@centos79 test]# ls a.txt b.txt [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t e 4 s [root@centos79 test]# c 阅读全文
posted @ 2021-07-09 00:02 小鲨鱼2018 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 1、 目前两种接口: sata接口 和 m.2接口 2、m.2接口 走两种总线: sata总线和PCIE总线, PCIE总线分位支持NVME协议和不支持NVME协议。 阅读全文
posted @ 2021-07-08 19:52 小鲨鱼2018 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 [root@centos79 test]# ls a.txt [root@centos79 test]# cat a.txt 3 4 5 d g 3 s g 8 k s g 2 5 d s c w a r t e 4 s 2、删除第二行 [root@centos79 test]# ca 阅读全文
posted @ 2021-07-08 19:19 小鲨鱼2018 阅读(1825) 评论(0) 推荐(0) 编辑
摘要: centos中安装那个cmake。 1、问题 [root@PC3 home]# cmake bash: cmake: command not found... Similar command is: 'make' 当前系统: [root@PC3 home]# lsb_release -a LSB V 阅读全文
posted @ 2021-07-08 18:54 小鲨鱼2018 阅读(9721) 评论(0) 推荐(0) 编辑
摘要: 杂合度计算分为两种:位点杂合度和样本杂合度 1、计算位点杂合度,测试数据如下: [root@centos79 test]# ls outcome.map outcome.ped [root@centos79 test]# cat outcome.map ## 8个snp位点 1 snp1 0 559 阅读全文
posted @ 2021-07-08 13:55 小鲨鱼2018 阅读(2423) 评论(0) 推荐(0) 编辑
摘要: 1、 [root@centos79 test]# cat a.txt 1 2 3 4 5 6 7 8 9 10 [root@centos79 test]# sed '/2/ s/^/xxx/' a.txt 1 xxx2 3 4 5 6 7 8 9 10 [root@centos79 test]# s 阅读全文
posted @ 2021-07-07 23:57 小鲨鱼2018 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据如下: [root@centos79 test]# seq 10 > a.txt [root@centos79 test]# ls a.txt [root@centos79 test]# cat a.txt 1 2 3 4 5 6 7 8 9 10 2、提取第2行 [root@cento 阅读全文
posted @ 2021-07-07 23:05 小鲨鱼2018 阅读(22740) 评论(0) 推荐(2) 编辑
摘要: plink --filp命令实现正负链的反转 1、 [root@centos79 test]# ls ## 测试数据如下, 8个位点, 8个样本 a.txt outcome.map outcome.ped [root@centos79 test]# cat outcome.map 1 snp1 0 阅读全文
posted @ 2021-07-07 09:59 小鲨鱼2018 阅读(668) 评论(0) 推荐(0) 编辑
摘要: 1、 dat <- read.table("test.map",header = F) dat2 <- dat[c(1,4)] unique(sort(dat2$V1)) dat2[dat2$V1 == "X",]$V1 = 10000 dat2$V1 <- as.numeric(dat2$V1) 阅读全文
posted @ 2021-07-06 13:23 小鲨鱼2018 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 1、 a <- c(1,3,10,6,2) class(a) order(a) ## 数值型, 排序结果 10 > 2 b <- c(1,3,10,6,2,"x") class(b) order(b) ##字符型,排序结果 10 < 2 阅读全文
posted @ 2021-07-06 12:13 小鲨鱼2018 阅读(296) 评论(0) 推荐(0) 编辑
上一页 1 ··· 253 254 255 256 257 258 259 260 261 ··· 367 下一页