上一页 1 ··· 161 162 163 164 165 166 167 168 169 ··· 367 下一页
摘要: str_detect函数属于tidyverse包中函数, 功能类似于grepl函数。 001、 str1 <- c("xx", "yy", "zz", "xx", "pp", "xx") str1 grepl("xx", str1) str_detect("xx", str1) 阅读全文
posted @ 2022-08-03 06:22 小鲨鱼2018 阅读(779) 评论(0) 推荐(0) 编辑
摘要: 001、shell实现 root@PC1:/home/test2# ls test.txt root@PC1:/home/test2# cat test.txt ## 测试数据, 删除第一次匹配xpehh以外的所有匹配xpehh的行 01 ee ff 02 ee de 03 dd ee 04 jj 阅读全文
posted @ 2022-08-03 05:56 小鲨鱼2018 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 001、 root@PC1:/home/test2# ls test.map root@PC1:/home/test2# cat test.map ## 用一个map文件进行测试,按照染色体打乱顺序 6 snp16 0 312984 1 snp2 0 85204 5 snp15 0 204629 6 阅读全文
posted @ 2022-08-03 00:45 小鲨鱼2018 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 001、压缩保留源文件 root@PC1:/home/test2# ls outcome.map root@PC1:/home/test2# gzip -c outcome.map > new.map.gz ## 压缩为gz文件,并保留源文件 root@PC1:/home/test2# ls new 阅读全文
posted @ 2022-08-03 00:20 小鲨鱼2018 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 001、 root@PC1:/home/test2# ls a.txt root@PC1:/home/test2# cat a.txt aa dd ss dd ff xv ef 33 cc xx ee ww df ff zc xx xx ff er ed ww xx xx ee er uy vv r 阅读全文
posted @ 2022-08-02 23:21 小鲨鱼2018 阅读(624) 评论(0) 推荐(0) 编辑
摘要: 001、 root@PC1:/home/test2# ls a.txt root@PC1:/home/test2# cat a.txt aa dd ss dd ff xv ef 33 cc xx ee ww df ff zc xx xx ff er ed ww xx xx ee er uy vv r 阅读全文
posted @ 2022-08-02 23:12 小鲨鱼2018 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 001、 library(cowplot) library(ggplot2) a <- ggplot(mtcars, aes(x = mpg)) + geom_histogram(binwidth = 4) + theme(plot.margin=unit(c(1, 1, 1, 1),'cm')) 阅读全文
posted @ 2022-08-02 00:12 小鲨鱼2018 阅读(4286) 评论(0) 推荐(0) 编辑
摘要: 001、shell root@PC1:/home/test2/test# ls genetic_map.txt root@PC1:/home/test2/test# head genetic_map.txt | column -t position COMBINED_rate(cM/Mb) Gene 阅读全文
posted @ 2022-08-01 17:52 小鲨鱼2018 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 001、解压 .tar.lzma文件 root@PC1:/home/test2/test# ls test_chr22.tar.lzma ## 增加 -k 参数 保留源文件 unlzma -k test_chr22.tar.lzma root@PC1:/home/test2/test# unlzma 阅读全文
posted @ 2022-08-01 12:06 小鲨鱼2018 阅读(676) 评论(0) 推荐(0) 编辑
摘要: 001、 module: command not found 002、 root@PC1:/home/test# cat /proc/version Linux version 5.15.0-41-generic (buildd@lcy02-amd64-105) (gcc (Ubuntu 9.4.0 阅读全文
posted @ 2022-08-01 01:03 小鲨鱼2018 阅读(787) 评论(0) 推荐(0) 编辑
上一页 1 ··· 161 162 163 164 165 166 167 168 169 ··· 367 下一页