请帮助我解决此错误,我不知道为什么我对这部分代码有疑问:
chordDiagram(x = filter(d2, .frame == f), directional = 1, order = d1$region,
grid.col = d1$col1, annotationTrack = "grid",
transparency = 0.25, annotationTrackHeight = c(0.05, 0.1),
direction.type = c("diffHeight", "arrows"), link.arr.type = "big.arrow",
diffHeight = -0.04, link.sort = TRUE, link.largest.ontop = TRUE)
错误是:
chordDiagramFromDataFrame(x,grid.col = grid.col,grid.border中的错误 = grid.border,:
order
应该包含所有扇区的名称。