Skip to content

Commit

Permalink
docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Jan 8, 2025
1 parent 2702f26 commit a7b7183
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions R/layout-circle-.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,17 @@
#' small_mat <- matrix(rnorm(56), nrow = 7)
#' rownames(small_mat) <- paste0("row", seq_len(nrow(small_mat)))
#' colnames(small_mat) <- paste0("column", seq_len(ncol(small_mat)))
#'
#' # direction outward
#' circle_discrete(small_mat) +
#' align_dendro(aes(color = branch), k = 3L) +
#' scale_color_brewer(palette = "Dark2") +
#' ggalign() +
#' geom_tile(aes(y = .column_index, fill = value)) +
#' scale_fill_viridis_c()
#'
#' # direction inward
#' circle_discrete(small_mat, direction = "inward") +
#' ggalign() +
#' geom_tile(aes(y = .column_index, fill = value)) +
#' scale_fill_viridis_c() +
Expand Down
10 changes: 10 additions & 0 deletions man/circle_discrete.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a7b7183

Please sign in to comment.