Skip to content

Commit

Permalink
Merge pull request drieslab#26 from jiajic/dev
Browse files Browse the repository at this point in the history
code cleanup
  • Loading branch information
jiajic authored Nov 10, 2023
2 parents d0ae78c + ef5a7a8 commit bc7517c
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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")),
Expand Down
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
10 changes: 5 additions & 5 deletions R/aux_visuals.R
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion man/plotly_axis_scale_2D.Rd

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

1 change: 0 additions & 1 deletion man/plotly_axis_scale_3D.Rd

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

1 change: 0 additions & 1 deletion man/plotly_grid.Rd

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

3 changes: 1 addition & 2 deletions man/plotly_network.Rd

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

0 comments on commit bc7517c

Please sign in to comment.