摘要:
R语言实现矩阵形式于三列表形式的相互转换。 阅读全文
posted @ 2025-04-22 20:53
小鲨鱼2018
阅读(7)
评论(0)
推荐(0)
摘要:
R语言、python实现fst值滑窗和步长的计算。 001、R语言版本 dir() # 读取数据(按实际文件路径修改) fst_data <- read.table("GMM_SUM.fst", header = T) head(fst_data) colnames(fst_data) <- c(" 阅读全文
posted @ 2025-04-22 20:53
小鲨鱼2018
阅读(35)
评论(0)
推荐(0)
摘要:
001、 删除每一行最后一个匹配的特定字符后边的部分 [root@localhost test]# ls a.txt [root@localhost test]# cat a.txt ## 测试数据 ab ad aj di ii rr [root@localhost test]# sed 's/\( 阅读全文
posted @ 2025-04-22 20:46
小鲨鱼2018
阅读(47)
评论(0)
推荐(0)
摘要:
001、 [root@localhost test]# ls a.txt [root@localhost test]# cat a.txt ## 测试数据 ab ad aj dd ii rr [root@localhost test]# sed 's/\(.*\)a/\1Q/' a.txt ## 将 阅读全文
posted @ 2025-04-22 20:39
小鲨鱼2018
阅读(20)
评论(0)
推荐(0)