Skip to content

Commit

Permalink
Merge pull request drieslab#966 from josschavezf/suite_dev
Browse files Browse the repository at this point in the history
update examples and updates following rcmdcheck
  • Loading branch information
josschavezf authored Jun 3, 2024
2 parents 9937cc2 + c86b6c9 commit 8a6d25a
Show file tree
Hide file tree
Showing 132 changed files with 8,071 additions and 5,855 deletions.
565 changes: 331 additions & 234 deletions R/auxiliary_giotto.R

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions R/cell_segmentation.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
#' of the tile: sx (start x), ex (end x), sy, and ey.
#'
#' @export
doCellSegmentation <- function(raster_img,
folder_path,
reduce_resolution = 4,
overlapping_pixels = 50,
python_path = NULL) {
doCellSegmentation <- function(
raster_img,
folder_path,
reduce_resolution = 4,
overlapping_pixels = 50,
python_path = NULL) {
package_check("deepcell", repository = "pip")
package_check("PIL", repository = "pip")

# prepare python path and segmentation script
reticulate::use_python(required = TRUE, python = python_path)
python_segmentation_function <- system.file("python",
Expand Down
Loading

0 comments on commit 8a6d25a

Please sign in to comment.