From 005aaf5cf30385c0c43ceaf7969d401da1d96090 Mon Sep 17 00:00:00 2001 From: jiajic <72078254+jiajic@users.noreply.github.com> Date: Thu, 9 Nov 2023 13:07:37 -0500 Subject: [PATCH] code cleanup version bump -export code needed in other modules --- DESCRIPTION | 2 +- NAMESPACE | 4 ++++ R/aux_visuals.R | 10 +++++----- man/plotly_axis_scale_2D.Rd | 1 - man/plotly_axis_scale_3D.Rd | 1 - man/plotly_grid.Rd | 1 - man/plotly_network.Rd | 3 +-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index aa9f7fd..213f624 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: GiottoVisuals Title: Visuals for the Giotto spatial biology analysis ecosystem -Version: 0.0.0.9005 +Version: 0.0.0.9006 Authors@R: c( person("Ruben", "Dries", email = "rubendries@gmail.com", role = c("aut", "cre")), diff --git a/NAMESPACE b/NAMESPACE index 074f6e2..7603471 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -34,6 +34,10 @@ export(plotUMAP) export(plotUMAP_2D) export(plotUMAP_3D) export(plot_output_handler) +export(plotly_axis_scale_2D) +export(plotly_axis_scale_3D) +export(plotly_grid) +export(plotly_network) export(sankeyLabel) export(sankeySet) export(sankeySetAddresses) diff --git a/R/aux_visuals.R b/R/aux_visuals.R index d72b49b..f106002 100644 --- a/R/aux_visuals.R +++ b/R/aux_visuals.R @@ -196,8 +196,8 @@ mid_rescaler <- function(mid) { #' @param y_end default to "sdimy_end" #' @param z_end default to "sdimz_end" #' -#' @return edges in network as data.table() -#' @keywords internal +#' @return edges in network as data.table +#' @export plotly_network <- function(network, x = "sdimx_begin", y = "sdimy_begin", @@ -238,7 +238,7 @@ plotly_network <- function(network, #' @param spatial_grid spatial_grid in giotto object #' #' @return edges in spatial grid as data.table() -#' @keywords internal +#' @export plotly_grid <- function(spatial_grid, x_start = "x_start", y_start = "y_start", @@ -281,7 +281,7 @@ plotly_grid <- function(spatial_grid, #' @param mode axis adjustment mode #' @param custom_ratio set the ratio artificially #' @return edges in spatial grid as data.table() -#' @keywords internal +#' @export plotly_axis_scale_3D <- function(cell_locations, sdimx = NULL, sdimy = NULL, @@ -328,7 +328,7 @@ plotly_axis_scale_3D <- function(cell_locations, #' @param mode axis adjustment mode #' @param custom_ratio set the ratio artificially #' @return edges in spatial grid as data.table() -#' @keywords internal +#' @export plotly_axis_scale_2D <- function(cell_locations, sdimx = NULL, sdimy = NULL, diff --git a/man/plotly_axis_scale_2D.Rd b/man/plotly_axis_scale_2D.Rd index a041dde..8ea3308 100644 --- a/man/plotly_axis_scale_2D.Rd +++ b/man/plotly_axis_scale_2D.Rd @@ -29,4 +29,3 @@ edges in spatial grid as data.table() \description{ adjust the axis scale in 2D plotly plot } -\keyword{internal} diff --git a/man/plotly_axis_scale_3D.Rd b/man/plotly_axis_scale_3D.Rd index c3f42aa..03abe84 100644 --- a/man/plotly_axis_scale_3D.Rd +++ b/man/plotly_axis_scale_3D.Rd @@ -32,4 +32,3 @@ edges in spatial grid as data.table() \description{ adjust the axis scale in 3D plotly plot } -\keyword{internal} diff --git a/man/plotly_grid.Rd b/man/plotly_grid.Rd index 5a879f0..c7cd332 100644 --- a/man/plotly_grid.Rd +++ b/man/plotly_grid.Rd @@ -29,4 +29,3 @@ edges in spatial grid as data.table() \description{ provide grid segment to draw in plot_ly() } -\keyword{internal} diff --git a/man/plotly_network.Rd b/man/plotly_network.Rd index 03b80c0..e02301b 100644 --- a/man/plotly_network.Rd +++ b/man/plotly_network.Rd @@ -30,9 +30,8 @@ plotly_network( \item{z_end}{default to "sdimz_end"} } \value{ -edges in network as data.table() +edges in network as data.table } \description{ provide network segment to draw in 3D plot_ly() } -\keyword{internal}