Skip to content

Commit

Permalink
Don't export ht_opt
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Jun 21, 2024
1 parent faac431 commit e55929c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export(ggfit_panel)
export(ggfit_plot)
export(ggheat)
export(gpar)
export(ht_opt)
export(legend_from_gg)
export(new_anno)
export(new_anno_subset)
Expand Down
5 changes: 3 additions & 2 deletions R/anno-.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#' won't change the function environment of `draw_fn`. So it's safe to use
#' `new_anno` in pacakge development, particularly when dealing with internal
#' functions in the package namespace that are likely to exist. `@@subsettable`
#' will always be set to `FALSE`.
#' will always be set to `FALSE`.
#' @examples
#' x <- 1:10
#' anno <- new_anno(
Expand All @@ -43,9 +43,10 @@
#' m <- rbind(1:10, 11:20)
#' ggheat(m, top_annotation = HeatmapAnnotation(foo = anno))
#' ggheat(m, top_annotation = HeatmapAnnotation(foo = anno), column_km = 2)
#' @seealso
#' @seealso
#' - [new_anno_subset]
#' - [AnnotationFunction][ComplexHeatmap::AnnotationFunction]
#' @importFrom ComplexHeatmap ht_opt
#' @export
new_anno <- function(n, draw_fn, ylim = NULL,
width = NULL, height = NULL, show_name = TRUE,
Expand Down
6 changes: 0 additions & 6 deletions R/utils-complexheatmap.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#' @examples
#' ht_opt("heatmap_row_names_gp")
#' @importFrom ComplexHeatmap ht_opt
#' @export
ComplexHeatmap::ht_opt

cheat_which <- function(which = NULL) {
out <- cheat_env_get("current_annotation_which")
if (is.null(out)) {
Expand Down
6 changes: 2 additions & 4 deletions man/reexports.Rd

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

0 comments on commit e55929c

Please sign in to comment.