My circo plot
my_circo(
df,
reorder = TRUE,
pal = NULL,
mode = c("circlize", "chorddiag")[1],
legend = TRUE,
...
)
chordDiagram
# \donttest{
if (requireNamespace("circlize")) {
data.frame(
a = c("a", "a", "b", "b", "c"),
b = c("a", LETTERS[2:5]), c = 1:5
) %>% my_circo(mode = "circlize")
data(otutab)
cbind(taxonomy, num = rowSums(otutab))[1:10, c(2, 6, 8)] -> test
my_circo(test)
}
#> Loading required namespace: circlize
# }