R circlize: Error in circos.initialize
问题 I am able to follow the Circlize example in the description of the package on CRAN easily: library('circlize') set.seed(123) mat = matrix(sample(1:100, 18, replace = TRUE), 3, 6) rownames(mat) = letters[1:3] colnames(mat) = LETTERS[1:6] ### basic settings par(mfrow = c(3, 2)) par(mar = c(1, 1, 1, 1)) chordDiagram(mat) however, when I replace mat with myMatrix I get this error: Error in circos.initialize(factors = factor(cate, levels = cate), xlim = cbind(rep(0, : Since `xlim` is a matrix, it