Skip to content

Commit

Permalink
fix merge spots
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Mazin committed Sep 30, 2024
1 parent d248bf8 commit 611a19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/merge.spots.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ mergeSpots = function(v,gr,image.name=NULL){
gr$nCount_Spatial = v$nCount_Spatial
gr$nspots = as.numeric(table(gr$group)[gr$group])
gr$barcode = rownames(gr)
mtx_ = calcColSums(v[['Spatial']]$counts,gr$group,mean = FALSE,verbose = FALSE)
mtx_ = calcColSums(v[['Spatial']]$counts,gr$group,mean = FALSE)

# combine spot info
# either center (if exists) or max covered spot
Expand Down

0 comments on commit 611a19c

Please sign in to comment.