Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajic committed Oct 16, 2024
1 parent ad6d004 commit f41142b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 17 deletions.
30 changes: 17 additions & 13 deletions R/clustering.R
Original file line number Diff line number Diff line change
Expand Up @@ -3321,19 +3321,23 @@ setGeneric("labelTransfer",

#' @rdname labelTransfer
#' @export
setMethod("labelTransfer", signature(x = "giotto", y = "giotto"), function(x, y,
spat_unit = NULL,
feat_type = NULL,
labels,
k = 10,
name = paste0("trnsfr_", labels),
prob = TRUE,
reduction = "cells",
reduction_method = "pca",
reduction_name = "pca",
dimensions_to_use = 1:10,
return_gobject = TRUE,
...) {
setMethod("labelTransfer", signature(x = "giotto", y = "giotto"), function(
x, y,
spat_unit = NULL,
feat_type = NULL,
labels,
k = 10,
name = paste0("trnsfr_", labels),
prob = TRUE,
co_filter_params = list(),
co_norm_params = list(),

reduction_name = NULL,
reduction_method = NULL,
dimensions_to_use = NULL,
return_gobject = TRUE,
...
) {
# NSE vars
temp_name <- cell_ID <- temp_name_prob <- NULL

Expand Down
9 changes: 5 additions & 4 deletions man/labelTransfer.Rd

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

0 comments on commit f41142b

Please sign in to comment.