From 9f771a0d59f2186727d45789406d2711568a2a78 Mon Sep 17 00:00:00 2001 From: George Chen <72078254+jiajic@users.noreply.github.com> Date: Wed, 3 Jul 2024 14:36:45 -0400 Subject: [PATCH] feat: reexport ggrepel functions --- NAMESPACE | 4 ++++ R/suite_reexports.R | 5 +++++ man/reexports.Rd | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/NAMESPACE b/NAMESPACE index 13d0472..ddbbf63 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -15,6 +15,8 @@ export(dimPlot) export(dimPlot2D) export(dimPlot3D) export(expand_feature_info) +export(geom_label_repel) +export(geom_text_repel) export(getColors) export(getDistinctColors) export(getRainbowColors) @@ -107,6 +109,8 @@ importFrom(GiottoUtils,getRainbowColors) importFrom(colorRamp2,colorRamp2) importFrom(data.table,dcast) importFrom(data.table,dcast.data.table) +importFrom(ggrepel,geom_label_repel) +importFrom(ggrepel,geom_text_repel) importFrom(igraph,as_data_frame) importFrom(methods,new) importFrom(methods,setGeneric) diff --git a/R/suite_reexports.R b/R/suite_reexports.R index 92d685d..b8cef91 100644 --- a/R/suite_reexports.R +++ b/R/suite_reexports.R @@ -2,3 +2,8 @@ GiottoUtils::getRainbowColors #' @export GiottoUtils::getDistinctColors + +#' @export +ggrepel::geom_text_repel +#' @export +ggrepel::geom_label_repel diff --git a/man/reexports.Rd b/man/reexports.Rd index 6259261..1096a60 100644 --- a/man/reexports.Rd +++ b/man/reexports.Rd @@ -6,6 +6,8 @@ \alias{colorRamp2} \alias{getRainbowColors} \alias{getDistinctColors} +\alias{geom_text_repel} +\alias{geom_label_repel} \title{Objects exported from other packages} \value{ a function to create continous colors @@ -22,6 +24,8 @@ below to see their documentation. \describe{ \item{colorRamp2}{\code{\link[colorRamp2]{colorRamp2}}} + \item{ggrepel}{\code{\link[ggrepel:geom_text_repel]{geom_label_repel}}, \code{\link[ggrepel]{geom_text_repel}}} + \item{GiottoUtils}{\code{\link[GiottoUtils]{getDistinctColors}}, \code{\link[GiottoUtils]{getRainbowColors}}} }}