这是一个示例代码:
df <- rbind(matrix(rep(sample(5),2),5,2),matrix(sample(10),5,2))
model_color <- unique(as.vector(df))
names(model_color) <- model_color
brand <- unique(as.vector(df))
names(brand) <- brand
chordDiagram(data.frame(df), order = names(brand), grid.col = model_color, directional = 0)
circos.clear()
我怎样才能“屏蔽”自链接?我想删除它们以保持空间为空(右图)。