Skip to content

Commit

Permalink
Merge branch 'drieslab:suite_modular' into suite_modular
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajic authored Oct 20, 2023
2 parents 0fe66fa + 64f1ac6 commit 742fa78
Show file tree
Hide file tree
Showing 4 changed files with 220 additions and 75 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ export(plotHeatmap)
export(plotICF)
export(plotICFSpot)
export(plotInteractionChangedFeats)
export(plotInteractive3D)
export(plotInteractivePolygons)
export(plotMetaDataCellsHeatmap)
export(plotMetaDataHeatmap)
Expand Down
4 changes: 2 additions & 2 deletions R/auxiliary_giotto.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ libNorm_giotto = function(mymatrix, scalefactor){
#' @keywords internal
logNorm_giotto = function(mymatrix, base, offset) {

if(methods::is(mymatrix, 'HDF5Matrix')) {
mymatrix@x = log(mymatrix + offset)/log(base)
if(methods::is(mymatrix, 'DelayedArray')) {
mymatrix = log(mymatrix + offset)/log(base)
# } else if(methods::is(mymatrix, 'DelayedMatrix')) {
# mymatrix = log(mymatrix + offset)/log(base)
} else if(methods::is(mymatrix, 'dgCMatrix')) {
Expand Down
Loading

0 comments on commit 742fa78

Please sign in to comment.