From b601bd05793a253d0cad14ad635102787f9c300c Mon Sep 17 00:00:00 2001 From: Yunuuuu Date: Tue, 7 Jan 2025 03:45:56 +0800 Subject: [PATCH] fix docs --- R/layout-circle-.R | 2 +- man/circle_layout.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/layout-circle-.R b/R/layout-circle-.R index 87e4cf48..740fd2a1 100644 --- a/R/layout-circle-.R +++ b/R/layout-circle-.R @@ -160,7 +160,7 @@ new_circle_layout <- function(data, design, radial, schemes = NULL, #' 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))) -#' circle_discrete(small_mat) + +#' circle_layout(small_mat) + #' ggalign() + #' geom_tile(aes(y = .column_index, fill = value)) + #' scale_fill_viridis_c() + diff --git a/man/circle_layout.Rd b/man/circle_layout.Rd index 6aeb6277..080bc2e0 100644 --- a/man/circle_layout.Rd +++ b/man/circle_layout.Rd @@ -39,7 +39,7 @@ set.seed(123) 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))) -circle_discrete(small_mat) + +circle_layout(small_mat) + ggalign() + geom_tile(aes(y = .column_index, fill = value)) + scale_fill_viridis_c() +