chordDiagramFromDataFrame(x,grid.col = grid.col,grid.border = grid.border,中的错误:`order`应该包含所有扇区的名称

时间:2019-04-29 20:29:58

标签: r data-science circlize

请帮助我解决此错误,我不知道为什么我对这部分代码有疑问:

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应该包含所有扇区的名称。

0 个答案:

没有答案