Skip to content

Commit

Permalink
chore: cleanup some remaining dep accessors
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajic committed Sep 13, 2024
1 parent efdf9c0 commit efbfb3d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
5 changes: 1 addition & 4 deletions R/auxiliary_giotto.R
Original file line number Diff line number Diff line change
Expand Up @@ -1763,10 +1763,7 @@ addCellStatistics <- function(
)
cell_metadata[][, c("nr_feats", "perc_feats", "total_expr") := NULL]
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
gobject <- set_cell_metadata(gobject,
metadata = cell_metadata,
verbose = FALSE
)
gobject <- setGiotto(gobject, cell_metadata, verbose = FALSE)
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
}

Expand Down
10 changes: 2 additions & 8 deletions R/differential_expression.R
Original file line number Diff line number Diff line change
Expand Up @@ -512,10 +512,7 @@ findGiniMarkers <- function(
)

### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
gobject <- set_cell_metadata(gobject,
metadata = cell_metadata,
verbose = FALSE
)
gobject <- setGiotto(gobject, cell_metadata, verbose = FALSE)
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
}

Expand Down Expand Up @@ -907,10 +904,7 @@ findMastMarkers <- function(
)

### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
gobject <- set_cell_metadata(gobject,
metadata = cell_metadata,
verbose = FALSE
)
gobject <- setGiotto(gobject, cell_metadata, verbose = FALSE)
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###


Expand Down
5 changes: 1 addition & 4 deletions R/spatial_interaction.R
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,7 @@ addCellIntMetadata <- function(gobject,

if (return_gobject == TRUE) {
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
gobject <- set_cell_metadata(gobject,
metadata = cell_metadata,
verbose = FALSE
)
gobject <- setGiotto(gobject, cell_metadata, verbose = FALSE)
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###

## update parameters used ##
Expand Down

0 comments on commit efbfb3d

Please sign in to comment.