摘要: 1、删除第1行 [root@PC1 test2]# ls a.txt test.py [root@PC1 test2]# cat a.txt 01 11 21 31 02 12 22 32 03 13 23 33 04 14 24 34 05 15 25 35 06 16 26 36 [root@P 阅读全文
posted @ 2022-06-02 23:29 小鲨鱼2018 阅读(5152) 评论(0) 推荐(0) 编辑
摘要: 1、提取第一列 [root@PC1 test2]# ls a.txt test.py [root@PC1 test2]# cat a.txt ## 测试数据 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 阅读全文
posted @ 2022-06-02 22:56 小鲨鱼2018 阅读(7778) 评论(0) 推荐(0) 编辑
摘要: 1、问题 [root@PC1 test2]# pip install numpy bash: pip: command not found... 2、系统 [root@PC1 test2]# cat /etc/system-release Rocky Linux release 8.5 (Green 阅读全文
posted @ 2022-06-02 22:12 小鲨鱼2018 阅读(1940) 评论(0) 推荐(0) 编辑
摘要: 数据来源:https://www.jianshu.com/p/4f7aeae81ef1 1、 pbmc <- NormalizeData(pbmc) dat <- pbmc[["RNA"]]@counts ## 原始数据 dat <- as.data.frame(dat) dat2 <- matri 阅读全文
posted @ 2022-06-02 19:22 小鲨鱼2018 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 1、 [root@PC1 test3]# ls a.txt [root@PC1 test3]# cat a.txt ## 测试数据 8.34565 3.23445 7.32423 0 8.343532523 5.34355 3.355623253 0 0 [root@PC1 test3]# awk 阅读全文
posted @ 2022-06-02 18:18 小鲨鱼2018 阅读(372) 评论(0) 推荐(0) 编辑