小编Ziz*_*olu的帖子

通过dtw计算距离矩阵

我有两个标准化读取计数矩阵,用于时间序列第 1 天到第 26 天的控制和治疗。我想通过动态时间包裹计算距离矩阵,然后使用它进行聚类,但似乎太复杂了。我这样做了;谁可以帮忙提供更多说明?多谢

> head(control[,1:4])
               MAST2     WWC2  PHYHIPL   R3HDM2
Control_D1  6.591024 5.695156 3.388652 5.756384
Control_D1 8.043454 5.365221 6.859768 6.936970
Control_D3 7.731590 4.868267 6.919972 6.931073
Control_D4 8.129948 5.105528 6.627016 7.090268
Control_D5 7.690863 4.729501 6.824746 6.904610
Control_D6 8.101723 5.334501 6.868990 7.115883
> 

> head(lead[,1:4])
              MAST2     WWC2  PHYHIPL   R3HDM2
Lead30_D1  6.418423 5.610699 3.734425 5.778046
Lead30_D2 7.918360 4.295191 6.559294 6.780952
Lead30_D3 7.807142 4.294722 6.599187 6.716040
Lead30_D4 7.856720 4.432136 6.572337 6.848483
Lead30_D5 7.827311 4.204738 6.607107 6.784094
Lead30_D6 7.848760 4.458451 6.581216 6.943003
>
> …
Run Code Online (Sandbox Code Playgroud)

r dtw

1
推荐指数
1
解决办法
3453
查看次数

标签 统计

dtw ×1

r ×1