Skip to content

Commit a7b7183

Browse files
committed
docs update
1 parent 2702f26 commit a7b7183

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

Diff for: R/layout-circle-.R

+10
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,17 @@
2222
#' small_mat <- matrix(rnorm(56), nrow = 7)
2323
#' rownames(small_mat) <- paste0("row", seq_len(nrow(small_mat)))
2424
#' colnames(small_mat) <- paste0("column", seq_len(ncol(small_mat)))
25+
#'
26+
#' # direction outward
2527
#' circle_discrete(small_mat) +
28+
#' align_dendro(aes(color = branch), k = 3L) +
29+
#' scale_color_brewer(palette = "Dark2") +
30+
#' ggalign() +
31+
#' geom_tile(aes(y = .column_index, fill = value)) +
32+
#' scale_fill_viridis_c()
33+
#'
34+
#' # direction inward
35+
#' circle_discrete(small_mat, direction = "inward") +
2636
#' ggalign() +
2737
#' geom_tile(aes(y = .column_index, fill = value)) +
2838
#' scale_fill_viridis_c() +

Diff for: man/circle_discrete.Rd

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)