From 8bb2b873a9758469f4e76a65a465e60541c9af8c Mon Sep 17 00:00:00 2001 From: dimalvovs Date: Sat, 31 Aug 2024 16:01:43 -0400 Subject: [PATCH] debug avg_hotspot_area --- modules/local/spacemarkers.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/local/spacemarkers.nf b/modules/local/spacemarkers.nf index 93fb6c1..9b7eeb6 100644 --- a/modules/local/spacemarkers.nf +++ b/modules/local/spacemarkers.nf @@ -111,7 +111,7 @@ process SPACEMARKERS_MQC { })) #average percent overlap across interacting patterns - avg_hot_share_in_pair <- mean(sapply(smi, function(x) { + avg_hotspot_area <- mean(sapply(smi, function(x) { sum(!is.na(x[['hotspots']]))/length(x[['hotspots']][,1]) }))