Skip to content

Commit

Permalink
Merge pull request #1023 from jiajic/suite_dev
Browse files Browse the repository at this point in the history
chore: cleanup some remaining dep accessors
  • Loading branch information
jiajic authored Sep 13, 2024
2 parents 15c4fb9 + efbfb3d commit c699ba6
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 c699ba6

Please sign in to comment.