Skip to content

Commit

Permalink
Reapply "Merge branch 'dev' into dev2"
Browse files Browse the repository at this point in the history
This reverts commit 961dc22.
  • Loading branch information
jiajic committed May 28, 2024
1 parent 961dc22 commit 13e9fcb
Show file tree
Hide file tree
Showing 29 changed files with 50 additions and 30 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
any::ggalluvial
any::ggforce
any::ggraph
any::hexbin
- name: Set up dependencies (GiottoUtils)
run: |
Expand Down
11 changes: 10 additions & 1 deletion R/vis_spatial.R
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,15 @@ spatPlot2D <- function(
#' color_as_factor = FALSE,
#' gradient_style = "sequential"
#' )
#'
#'
#' # load another dataset with 3D data
#' starmap <- GiottoData::loadGiottoData("starmap", verbose = FALSE)
#'
#' # default is to rescale plot as a 3D cube
#' spatPlot3D(starmap, cell_color = "leiden_clus")
#' # real scaling
#' spatPlot3D(g, cell_color = "leiden_clus", axis_scale = "real")
#' @export
#' @seealso \code{\link{spatPlot3D}}
spatPlot <- function(...) {
Expand Down Expand Up @@ -5251,7 +5260,7 @@ dimPlot3D <- function(gobject,
#' @returns plotly
#' @examples
#' g <- GiottoData::loadGiottoMini("starmap")
#' plotUMAP_3D(g)
#' plotUMAP_3D(g, dim_reduction_name = "3D_umap")
#'
#' @export
plotUMAP_3D <- function(gobject,
Expand Down
1 change: 1 addition & 0 deletions R/vis_spatial_in_situ.R
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ spatInSituPlotHex <- function(
polygon_line_size <- polygon_size
}

package_check("hexbin")

if (is.null(feats)) {
stop("You need to select features (feats) and modify
Expand Down
2 changes: 1 addition & 1 deletion man/addGiottoImageToSpatPlot.Rd

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

2 changes: 1 addition & 1 deletion man/create_cluster_dendrogram.Rd

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

4 changes: 2 additions & 2 deletions man/dimCellPlot.Rd

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

2 changes: 1 addition & 1 deletion man/dimFeatPlot2D.Rd

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

4 changes: 2 additions & 2 deletions man/dimPlot.Rd

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

2 changes: 1 addition & 1 deletion man/plotHeatmap.Rd

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

2 changes: 1 addition & 1 deletion man/plotMetaDataHeatmap.Rd

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

2 changes: 1 addition & 1 deletion man/plotPCA.Rd

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

2 changes: 1 addition & 1 deletion man/plotPCA_2D.Rd

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

2 changes: 1 addition & 1 deletion man/plotTSNE.Rd

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

2 changes: 1 addition & 1 deletion man/plotTSNE_2D.Rd

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

2 changes: 1 addition & 1 deletion man/plotUMAP.Rd

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

2 changes: 1 addition & 1 deletion man/plotUMAP_2D.Rd

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

2 changes: 1 addition & 1 deletion man/plotUMAP_3D.Rd

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

2 changes: 1 addition & 1 deletion man/plotly_grid.Rd

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

2 changes: 1 addition & 1 deletion man/showClusterDendrogram.Rd

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

2 changes: 1 addition & 1 deletion man/showClusterHeatmap.Rd

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

4 changes: 2 additions & 2 deletions man/spatCellPlot.Rd

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

2 changes: 1 addition & 1 deletion man/spatDimCellPlot.Rd

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

2 changes: 1 addition & 1 deletion man/spatDimCellPlot2D.Rd

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

2 changes: 1 addition & 1 deletion man/spatDimFeatPlot2D.Rd

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

4 changes: 2 additions & 2 deletions man/spatDimPlot.Rd

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

2 changes: 1 addition & 1 deletion man/spatFeatPlot2D.Rd

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

2 changes: 1 addition & 1 deletion man/spatFeatPlot2D_single.Rd

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

9 changes: 9 additions & 0 deletions man/spatPlot.Rd

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

2 changes: 1 addition & 1 deletion man/violinPlot.Rd

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

0 comments on commit 13e9fcb

Please sign in to comment.