Skip to content

Commit

Permalink
add returns value
Browse files Browse the repository at this point in the history
  • Loading branch information
josschavezf committed Sep 26, 2024
1 parent dcc8ec5 commit a348a4a
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 6 deletions.
1 change: 1 addition & 0 deletions R/classes.R
Original file line number Diff line number Diff line change
Expand Up @@ -1670,6 +1670,7 @@ giottoLargeImage <- setClass(
#' transforms
#' @slot funs list of functions associated with the object. Primarily to
#' perform the delayed/lazy operations
#' @returns giottoAffineImage
setClass(
"giottoAffineImage",
contains = c("giottoLargeImage"),
Expand Down
4 changes: 2 additions & 2 deletions R/methods-extract.R
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ NULL
#' cell_ids = c("GAATCGCCGGACACGG-1", "GAGGGCATCGCGTATC-1")
#' )
#' subset(g, Gfap + Gna12 > 10)
#'
#' @returns giotto object
NULL

#' @title Subset `giotto` subobjects
Expand Down Expand Up @@ -149,7 +149,7 @@ NULL
#' # return as a subset giotto object with drop = FALSE
#' g[[, "raw", drop = FALSE]]
#' g[[spat_unit = "aggregate", drop = FALSE]]
#'
#' @returns giotto subobject
NULL

# --------------------------------------------------------------------------- #
Expand Down
1 change: 1 addition & 0 deletions R/methods-nesting.R
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ NULL
#' @param force_replace logical. default = FALSE. Whether to replace the
#' names of objects for which the name already has a name for
#' @keywords internal
#' @returns list
assign_objnames_2_list <- function(obj_list, force_replace = FALSE) {
if (is.null(obj_list)) {
return(obj_list)
Expand Down
2 changes: 2 additions & 0 deletions R/methods-show.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ NULL
#' Create a text representation of an object
#' @param x object
#' @param ... additional params to pass (none implemented)
#' @returns character
#' @examples
#' img <- GiottoData::loadSubObjectMini("giottoLargeImage")
#' as.character(img)
Expand Down Expand Up @@ -628,6 +629,7 @@ setMethod(

## giottoPoints ####
#' @rdname show
#' @returns giotto slot
setMethod("show", signature = "giottoPoints", function(object) {
cat("An object of class giottoPoints\n")
.show_feat(object)
Expand Down
2 changes: 1 addition & 1 deletion R/python_environment.R
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ checkGiottoEnvironment <- function(envname = NULL,
#' temp_env <- tempdir()
#' installGiottoEnvironment(mini_install_path = temp_env)
#' }
#'
#' @returns installed Giotto environment
#' @export
installGiottoEnvironment <- function(
packages_to_install = c(
Expand Down
3 changes: 3 additions & 0 deletions man/as.character.Rd

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

1 change: 1 addition & 0 deletions man/as.list.Rd

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

3 changes: 3 additions & 0 deletions man/giottoAffineImage-class.Rd

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

4 changes: 3 additions & 1 deletion man/giotto_python.Rd

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

3 changes: 3 additions & 0 deletions man/objectlist_name_utils.Rd

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

3 changes: 3 additions & 0 deletions man/show.Rd

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

4 changes: 3 additions & 1 deletion man/subset_giotto.Rd

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

4 changes: 3 additions & 1 deletion man/subset_giotto_subobjects.Rd

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

0 comments on commit a348a4a

Please sign in to comment.