From 611a19cd46da5b2ab44a6e949777e44aae307d44 Mon Sep 17 00:00:00 2001 From: Pavel Mazin Date: Mon, 30 Sep 2024 15:23:29 +0100 Subject: [PATCH] fix merge spots --- R/merge.spots.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/merge.spots.R b/R/merge.spots.R index 44b49e1..f6f5081 100644 --- a/R/merge.spots.R +++ b/R/merge.spots.R @@ -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