Skip to content

Commit

Permalink
fix: as.list docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajic committed Sep 27, 2024
1 parent cf5558a commit fa02475
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions R/methods-extract.R
Original file line number Diff line number Diff line change
Expand Up @@ -1480,9 +1480,10 @@ sliceGiotto <- function(

# * as.list ####

#' @name as.list
#' @rdname as.list
#' @title Coerce to a list
#' @aliases as.list,giotto
#' @docType methods
#' @method as.list giotto
#' @description Generic to coerce to a list if possible
#' @param x the object to coerce
#' @param slots character vector. Which data slots to include in list. See
Expand All @@ -1497,7 +1498,7 @@ sliceGiotto <- function(
#' "expression", "cell_metadata", "feat_metadata", "spatial_enrichment",
#' "nn_network", "dimension_reduction", "multiomics"`
#' @returns list
#' @export
#' @exportMethod as.list
setMethod("as.list", signature("giotto"), function(
x, slots, spat_unit = NULL, feat_type = NULL, name = NULL, ...
) {
Expand Down
6 changes: 3 additions & 3 deletions man/as.list.Rd

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

0 comments on commit fa02475

Please sign in to comment.