上一页 1 ··· 263 264 265 266 267 268 269 270 271 ··· 403 下一页
摘要: 1、 root@PC1:/home/test2# ls test1.txt test2.txt root@PC1:/home/test2# cat test1.txt 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 root@P 阅读全文
posted @ 2021-12-27 10:22 小鲨鱼2018 阅读(428) 评论(0) 推荐(0)
摘要: 1、awk实现 root@PC1:/home/test2# ls test.txt root@PC1:/home/test2# cat test.txt ## 测试数据 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 root@ 阅读全文
posted @ 2021-12-27 10:19 小鲨鱼2018 阅读(2923) 评论(0) 推荐(0)
摘要: 1、merge函数 dir() test1 <- read.table("test1.txt", header = F) test1 test2 <- read.table("test2.txt", header = F) test2 result <- merge(test1, test2, by 阅读全文
posted @ 2021-12-26 22:28 小鲨鱼2018 阅读(1744) 评论(0) 推荐(0)
摘要: 1、软件下载,下载地址:https://github.com/genetics-statistics/GEMMA/releases 下载过程: root@PC1:/home/gemma_test# ls root@PC1:/home/gemma_test# pwd /home/gemma_test 阅读全文
posted @ 2021-12-25 22:50 小鲨鱼2018 阅读(3037) 评论(0) 推荐(1)
摘要: 1、问题,下载压缩文件后,不能显示压缩文件的颜色(红色),执行source ./bashrc后系统可以显示 问题如下,因此推测是系统启动时没有自动执行source ./bashrc 2、解决方法,在~/.bash_profile增加如下语句: if [ -f ~/.bashrc ]; then . 阅读全文
posted @ 2021-12-24 22:40 小鲨鱼2018 阅读(2029) 评论(0) 推荐(1)
摘要: 1、find可以实现对指定文件大小的查找 root@PC1:/home/test2# ls b.ped outcome.map outcome.ped root@PC1:/home/test2# ll -h total 1.4G -rw-r--r-- 1 root root 1.3G 12月 22 阅读全文
posted @ 2021-12-22 23:01 小鲨鱼2018 阅读(1786) 评论(0) 推荐(0)
摘要: 1、 root@PC1:/home/test2# ls b.ped outcome.map outcome.ped xx root@PC1:/home/test2# du -ah ## 显示每一个文件的大小 4.0K ./xx 1.3M ./outcome.map 1.3G ./b.ped 158M 阅读全文
posted @ 2021-12-22 22:43 小鲨鱼2018 阅读(547) 评论(0) 推荐(0)
摘要: 1、croc安装 方法1: curl https://getcroc.schollz.com | bash 方法2(ubuntu): gdebi croc_8.3.2_Linux-64bit.deb ## (需要提前下载好安装包) https://github.com/schollz/croc/re 阅读全文
posted @ 2021-12-22 22:06 小鲨鱼2018 阅读(572) 评论(0) 推荐(0)
摘要: 1、测试主机PC1、PC2 root@PC1:/home/test2# ls root@PC1:/home/test2# hostname PC1 root@PC1:/home/test2# ifconfig | head -n 3 ens32: flags=4163<UP,BROADCAST,RU 阅读全文
posted @ 2021-12-22 21:18 小鲨鱼2018 阅读(171) 评论(0) 推荐(0)
摘要: 1、 dir() dat <- read.table("test.ped") ## 读取测试数据,ped基因型数据 dat genoList =list() for ( i in 1:ncol(dat) ) { ## 将每一列数据保存为列表的一项 genoList[[i]]<- dat[,i] } 阅读全文
posted @ 2021-12-19 23:09 小鲨鱼2018 阅读(477) 评论(0) 推荐(0)
上一页 1 ··· 263 264 265 266 267 268 269 270 271 ··· 403 下一页